Skip to content

Commit 55a9d03

Browse files
committed
CWG 3131
1 parent 3b874f5 commit 55a9d03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/AST/ast-print-expansion-stmts.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ void test(T t) {
3030
// Iterating expansion statement.
3131
//
3232
// CHECK: static constexpr Array<int, 3> a;
33-
// CHECK-NEXT: template for (auto x : a) {
33+
// CHECK-NEXT: template for (auto x : (a)) {
3434
// CHECK-NEXT: foo(x);
3535
// CHECK-NEXT: }
3636
static constexpr Array<int, 3> a;
@@ -74,7 +74,7 @@ void test2(T t) {
7474
// Iterating expansion statement.
7575
//
7676
// CHECK: static constexpr Array<int, 3> a;
77-
// CHECK-NEXT: template for (int x : a) {
77+
// CHECK-NEXT: template for (int x : (a)) {
7878
// CHECK-NEXT: foo(x);
7979
// CHECK-NEXT: }
8080
static constexpr Array<int, 3> a;

0 commit comments

Comments
 (0)