summaryrefslogtreecommitdiff
path: root/test/Preprocessor/line-directive-output.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Preprocessor/line-directive-output.c')
-rw-r--r--test/Preprocessor/line-directive-output.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Preprocessor/line-directive-output.c b/test/Preprocessor/line-directive-output.c
index 5c0aef8b3219..caeb88dd855c 100644
--- a/test/Preprocessor/line-directive-output.c
+++ b/test/Preprocessor/line-directive-output.c
@@ -76,3 +76,10 @@ extern int z;
// CHECK: # 50 "a\n.c"
# 50 "a\012.c"
+
+# 1 "system.h" 3
+# 2
+void sys_foo(void);
+// CHECK: # 1 "system.h" 3
+// CHECK-NEXT: # 2 "system.h" 3
+// CHECK-NEXT: void sys_foo(void);