aboutsummaryrefslogtreecommitdiff
path: root/test/PCH/line-directive-nofilename.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/PCH/line-directive-nofilename.h')
-rw-r--r--test/PCH/line-directive-nofilename.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/PCH/line-directive-nofilename.h b/test/PCH/line-directive-nofilename.h
new file mode 100644
index 000000000000..2e2d189de3f0
--- /dev/null
+++ b/test/PCH/line-directive-nofilename.h
@@ -0,0 +1,5 @@
+#line 42
+int foo; // This should appear as at line-directive-nofilename.h:42
+
+#line 100 "foobar.h"
+int bar; // This should appear as at foobar.h:100