We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b34e900 commit ab1413eCopy full SHA for ab1413e
clang/test/Preprocessor/print_line_track.c
@@ -1,7 +1,7 @@
1
-/* RUN: %clang_cc1 -E %s | grep -z 'a.3'
2
- * RUN: %clang_cc1 -E %s | grep -z 'b.16'
3
- * RUN: %clang_cc1 -E -P %s | grep -z 'a.3'
4
- * RUN: %clang_cc1 -E -P %s | grep -z 'b.16'
+/* RUN: %clang_cc1 -E %s | awk '/a/,/3/{exit 0} {exit 1}'
+ * RUN: %clang_cc1 -E %s | awk '/b/,/16/{exit 0} {exit 1}'
+ * RUN: %clang_cc1 -E -P %s | awk '/a/,/3/{exit 0} {exit 1}'
+ * RUN: %clang_cc1 -E -P %s | awk '/b/,/16/{exit 0} {exit 1}'
5
* RUN: %clang_cc1 -E %s | not grep '# 0 '
6
* RUN: %clang_cc1 -E -P %s | count 4
7
* PR1848 PR3437 PR7360
0 commit comments