summaryrefslogtreecommitdiff
path: root/test/Preprocessor/print_line_empty_file.c
blob: 868d0b7a8b8e2351f7c14a324d620ba5f0104323 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: %clang_cc1 -E %s | FileCheck %s

#line 21 ""
int foo() { return 42; }

#line 4 "bug.c" 
int bar() { return 21; }

// CHECK: # 21 ""
// CHECK: int foo() { return 42; }
// CHECK: # 4 "bug.c"
// CHECK: int bar() { return 21; }