llvm-capstone/clang/test/Preprocessor/first-line-indent.c
Hal Finkel 2109f23000 Fix the indentation of the first line of preprocessor output
The -E output from clang did not produce the correct indentation on the first line.
This is because MoveToLine returned false, and when this happens,
the regular process for producing initial indentation is skipped.

Thanks to Eli for suggesting a way to simplify this to a one-line change.

llvm-svn: 173657
2013-01-28 04:37:37 +00:00

8 lines
135 B
C

foo
// RUN: %clang_cc1 -E %s | FileCheck -strict-whitespace %s
bar
// CHECK: {{^ }}foo
// CHECK: {{^ }}bar