xref: /aosp_15_r20/external/clang/test/Format/incomplete.cpp (revision 67e74705e28f6214e480b399dd47ea732279e315)
1 // RUN: grep -Ev "// *[A-Z-]+:" %s | clang-format -style=LLVM -cursor=0 \
2 // RUN:   | FileCheck -strict-whitespace %s
3 // CHECK: {{"IncompleteFormat": true}}
4 // CHECK: {{^int\ \i;$}}
5  int    i;
6 // CHECK: {{^f  \( g  \(;$}}
7 f  ( g  (;
8