diff options
Diffstat (limited to 'test/SemaCXX/cxx11-ast-print.cpp')
-rw-r--r-- | test/SemaCXX/cxx11-ast-print.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/SemaCXX/cxx11-ast-print.cpp b/test/SemaCXX/cxx11-ast-print.cpp index 9c617af4e95f..17dcbcb3f7b0 100644 --- a/test/SemaCXX/cxx11-ast-print.cpp +++ b/test/SemaCXX/cxx11-ast-print.cpp @@ -55,4 +55,8 @@ struct B : A { ; // CHECK-NOT: ; +void g(int n) { + int buffer[n]; // CHECK: int buffer[n]; + [&buffer]() {}(); // CHECK: [&buffer] +} |