ossp-pkg/cfg/sample.cfg
##
## sample.cfg -- Example Feature Testing Configuration
##
"==== Shell-style EOL comments ====";
#bar
#bar
foo1; #bar
foo2;#bar
foo3#bar # fails
"foo4"#bar # works again
;
"==== C++-style EOL comments ====";
//bar
//bar
foo1; //bar
foo2;//bar
foo3//bar # fails
"foo4"//bar # works again
;
"==== C-style block comments ====";
/*bar*/
/*bar*/
foo1; /*bar*/
foo2;/*bar*/
foo3/*bar*/ # fails
"foo4"/*bar*/ # works again
;
/* a C/C++ style block comment which
goes over multiple lines and even includes
some special / * ** * / characters and
a nested /* co/**/mment */, too. */
"==== Single-Quoted Strings ====";
'foo';
'foo bar';
'foo\\bar\'baz';
'\'';
"==== Double-Quoted Strings ====";
"foo\r\nbar\r\n";
"foo\x1bbar\x{011b}baz";
"==== Flexible-Quoted Strings ====";
foo q{foo{bar{baz}bar}quux} bar;
foo q{foo{bar{baz}\}bar}quux} bar;