summaryrefslogtreecommitdiffstats
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.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Preprocessor/line-directive-output.c b/test/Preprocessor/line-directive-output.c
index 290703a..bd3ea94 100644
--- a/test/Preprocessor/line-directive-output.c
+++ b/test/Preprocessor/line-directive-output.c
@@ -2,6 +2,10 @@
// PR6101
int a;
// CHECK: # 1 "{{.*}}line-directive-output.c"
+
+// Check that we do not emit an enter marker for the main file.
+// CHECK-NOT: # 1 "{{.*}}line-directive-output.c" 1
+
// CHECK: int a;
// CHECK-NEXT: # 50 "{{.*}}line-directive-output.c"
OpenPOWER on IntegriCloud