[cc lang="cpp"]
// this is a syntax highlighting test
#include
#define BLAH “blah”
const float pi = 3.14; /* yum */
typedef struct Foo {
char * bar;
} Foo;
void nothing() {
int useless; // test
}
/* this is a comment
* yay */
int main() {
char * message = “hello world\n”;
printf(message);
nothing();
for( int i = 0; i < 5; i++) {
fprintf(stderr, “%i\n”, i);
break;
}
return null;
}
[/cc]

wp-chili-test

// this is a syntax highlighting test
#include <stdio.h>
#define BLAH "blah"
const float pi = 3.14;  /* yum */
typedef struct Foo {
    char * bar;
} Foo;
void nothing() {
    int useless;  // test
}
/* this is a comment
 * yay */
int main() {
    char * message = "hello world\n";
    printf(message);
    nothing();
    for( int i = 0; i < 5; i  ) {
        fprintf(stderr, "%i\n", i);
        break;
    }
    return null;
}
wp-syntax-test
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// this is a syntax highlighting test
#include <stdio.h>
#define BLAH "blah"
const float pi = 3.14;  /* yum */
typedef struct Foo {
    char * bar;
} Foo;
void nothing() {
    int useless;  // test
}
/* this is a comment
 * yay */
int main() {
    char * message = "hello world\n";
    printf(message);
    nothing();
    for( int i = 0; i < 5; i++) {
        fprintf(stderr, "%i\n", i);
        break;
    }
    return null;
}
syntax-highlighter-plus-test

[cpp]
// this is a syntax highlighting test
#include &amp;lt;stdio.h&amp;gt;
#define BLAH &amp;quot;blah&amp;quot;
const float pi = 3.14; /* yum */
typedef struct Foo {
char * bar;
} Foo;
void nothing() {
int useless; // test
}
/* this is a comment
* yay */
int main() {
char * message = &amp;quot;hello world\n&amp;quot;;
printf(message);
nothing();
for( int i = 0; i &amp;lt; 5; i++) {
fprintf(stderr, &amp;quot;%i\n&amp;quot;, i);
break;
}
return null;
}
[/cpp]

google-code-colorer-test
// this is a syntax highlighting test
#include <stdio.h>;
#define BLAH "blah"
const float pi = 3.14;  /* yum */
typedef struct Foo {
    char * bar;
} Foo;
void nothing() {
    int useless;  // test
}
/* this is a comment
 * yay */
int main() {
    char * message = "hello world\n";
    printf(message);
    nothing();
    for( int i = 0; i < 5; i  ) {
        fprintf(stderr, "%i\n", i);
        break;
    }
    return null;
}