1 // Test that the input originally is included. 2 STRINGTABLE { 3 1 "a" 4 } 5 #line 2 "cpp-source.rc" 6 // Content from a rc file (potentially the source file itself) is included. 7 STRINGTABLE { 8 2 "b" 9 } 10 // Test a preprocessing directive that starts with leading whitespace. 11 #line 1 "\\some\\path\\header.h" 12 // Content from .h files is ignored. 13 typedef int Foo; 14 #line 123 "\\some\\path\\header.h" 15 void someFunc(void); 16 // Check GNU style line markers. 17 # 4 "cpp-source.rc" 1 18 STRINGTABLE { 19 3 "c" 20 } 21 # 1 "other/header.h" 1 22 typedef int Bar; 23 # 10 "cpp-source.rc" 2 24 // Test that other preprocessor directives are ignored. 25 #pragma foo 26 STRINGTABLE { 27 4 "d" 28 } 29