29 lines · plain
1// Test that the input originally is included.2STRINGTABLE {3 1 "a"4}5#line 2 "cpp-source.rc"6// Content from a rc file (potentially the source file itself) is included.7STRINGTABLE {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.13typedef int Foo;14#line 123 "\\some\\path\\header.h"15void someFunc(void);16// Check GNU style line markers.17# 4 "cpp-source.rc" 118STRINGTABLE {19 3 "c"20}21 # 1 "other/header.h" 122typedef int Bar;23# 10 "cpp-source.rc" 224// Test that other preprocessor directives are ignored.25#pragma foo26STRINGTABLE {27 4 "d"28}29