Test: Difference between revisions

Democratising Wireless Innovation
Jump to navigation Jump to search
(Created page with "<source lang="js"> console.log('Some JavaScript code'); </source>")
 
No edit summary
Line 1: Line 1:
<source lang="js">
<source lang="c">
console.log('Some JavaScript code');
#include <iostream>
 
int main(int argc, char *argv[]) {
 
  /* An annoying "Hello World" example */
  for (auto i = 0; i < 0xFFFF; i++)
    cout << "Hello, World!" << endl;
 
  char c = '\n';
  unordered_map <string, vector<string> > m;
  m["key"] = "\\\\"; // this is an error
 
  return -2e3 + 12l;
}
</source>
</source>

Revision as of 17:05, 30 August 2015

#include <iostream>

int main(int argc, char *argv[]) {

  /* An annoying "Hello World" example */
  for (auto i = 0; i < 0xFFFF; i++)
    cout << "Hello, World!" << endl;

  char c = '\n';
  unordered_map <string, vector<string> > m;
  m["key"] = "\\\\"; // this is an error

  return -2e3 + 12l;
}