xref: /llvm-project/clang/test/Format/language-detection.cpp (revision f625a8a250b393b29a277ca790f6bc2fce7aa192)
13cb667edSNico Weber // RUN: grep -Ev "// *[A-Z0-9_]+:" %s \
2*f625a8a2SRafael Stahl // RUN:   | clang-format -style=LLVM -assume-filename=foo.js \
33cb667edSNico Weber // RUN:   | FileCheck -strict-whitespace -check-prefix=CHECK1 %s
43cb667edSNico Weber // RUN: grep -Ev "// *[A-Z0-9_]+:" %s \
5*f625a8a2SRafael Stahl // RUN:   | clang-format -style=LLVM -assume-filename=foo.cpp \
63cb667edSNico Weber // RUN:   | FileCheck -strict-whitespace -check-prefix=CHECK2 %s
7cabdd738SAlexander Kornienko // CHECK1: {{^a >>>= b;$}}
8cabdd738SAlexander Kornienko // CHECK2: {{^a >> >= b;$}}
9cabdd738SAlexander Kornienko a >>>= b;
10