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 3b874f5 commit 55a9d03Copy full SHA for 55a9d03
clang/test/AST/ast-print-expansion-stmts.cpp
@@ -30,7 +30,7 @@ void test(T t) {
30
// Iterating expansion statement.
31
//
32
// CHECK: static constexpr Array<int, 3> a;
33
- // CHECK-NEXT: template for (auto x : a) {
+ // CHECK-NEXT: template for (auto x : (a)) {
34
// CHECK-NEXT: foo(x);
35
// CHECK-NEXT: }
36
static constexpr Array<int, 3> a;
@@ -74,7 +74,7 @@ void test2(T t) {
74
75
76
77
- // CHECK-NEXT: template for (int x : a) {
+ // CHECK-NEXT: template for (int x : (a)) {
78
79
80
0 commit comments