diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2012-10-18 20:58:58 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2012-10-18 20:58:58 +0000 |
commit | 4a11540c27a6040896c2dcd6d4c0f3ccfd739626 (patch) | |
tree | 874f4fbf808f09383942e12646f89b20bbd17b00 /clang/test/SemaCXX/ast-print.cpp | |
parent | a6fdfaa595ec41ed4800d447b8669c69fb696ba8 (diff) | |
download | bcm5719-llvm-4a11540c27a6040896c2dcd6d4c0f3ccfd739626.tar.gz bcm5719-llvm-4a11540c27a6040896c2dcd6d4c0f3ccfd739626.zip |
Remove check which incorrectly suppressed printing an identifier in type printing. Patch by Benoit Perrot.
llvm-svn: 166227
Diffstat (limited to 'clang/test/SemaCXX/ast-print.cpp')
-rw-r--r-- | clang/test/SemaCXX/ast-print.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/SemaCXX/ast-print.cpp b/clang/test/SemaCXX/ast-print.cpp index 46b99e0d610..15fdabfe32f 100644 --- a/clang/test/SemaCXX/ast-print.cpp +++ b/clang/test/SemaCXX/ast-print.cpp @@ -41,3 +41,8 @@ struct X { void *operator new (typeof(sizeof(1)), int = 2); }; void f2() { new X; } + +// CHECK: for (int i = 2097, j = 42; false;) +void forInit() { + for (int i = 2097, j = 42; false;) {} +} |