diff options
| author | Reid Kleckner <rnk@google.com> | 2017-05-23 16:09:13 +0000 |
|---|---|---|
| committer | Reid Kleckner <rnk@google.com> | 2017-05-23 16:09:13 +0000 |
| commit | 1ace0049fe09601821bf2d56183be6f1ed8ada26 (patch) | |
| tree | f7f9bbfb224253a806c118ecfb540d5201f4fdb2 /clang/test/Preprocessor/line-directive-output.c | |
| parent | a96ec3f36016eee02c346e9b8100f31f28a6f079 (diff) | |
| download | bcm5719-llvm-1ace0049fe09601821bf2d56183be6f1ed8ada26.tar.gz bcm5719-llvm-1ace0049fe09601821bf2d56183be6f1ed8ada26.zip | |
Add test coverage for recent behavior change in GNU line marker pre-processing
llvm-svn: 303642
Diffstat (limited to 'clang/test/Preprocessor/line-directive-output.c')
| -rw-r--r-- | clang/test/Preprocessor/line-directive-output.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/test/Preprocessor/line-directive-output.c b/clang/test/Preprocessor/line-directive-output.c index 5c0aef8b321..caeb88dd855 100644 --- a/clang/test/Preprocessor/line-directive-output.c +++ b/clang/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); |

