summaryrefslogtreecommitdiffstats
path: root/clang/test/Misc/ast-dump-invalid.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2016-07-14 00:11:03 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2016-07-14 00:11:03 +0000
commita547eb27fa5ed28b631f5a72f369e68e9c3cca1f (patch)
treeea8248c585a5ee4759adfc838899e3f35adfbcff /clang/test/Misc/ast-dump-invalid.cpp
parentd5bbd856e2a71201d8bf9b0cbcb5339df9bf9f12 (diff)
downloadbcm5719-llvm-a547eb27fa5ed28b631f5a72f369e68e9c3cca1f.tar.gz
bcm5719-llvm-a547eb27fa5ed28b631f5a72f369e68e9c3cca1f.zip
P0305R0: Semantic analysis and code generation for C++17 init-statement for 'if' and 'switch':
if (stmt; condition) { ... } Patch by Anton Bikineev! Some minor formatting and comment tweets by me. llvm-svn: 275350
Diffstat (limited to 'clang/test/Misc/ast-dump-invalid.cpp')
-rw-r--r--clang/test/Misc/ast-dump-invalid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Misc/ast-dump-invalid.cpp b/clang/test/Misc/ast-dump-invalid.cpp
index bf260c040cb..aa6cd526929 100644
--- a/clang/test/Misc/ast-dump-invalid.cpp
+++ b/clang/test/Misc/ast-dump-invalid.cpp
@@ -34,6 +34,7 @@ int g(int i) {
// CHECK-NEXT: `-CompoundStmt
// CHECK-NEXT: `-IfStmt {{.*}} <line:25:3, line:28:12>
// CHECK-NEXT: |-<<<NULL>>>
+// CHECK-NEXT: |-<<<NULL>>>
// CHECK-NEXT: |-OpaqueValueExpr {{.*}} <<invalid sloc>> '_Bool'
// CHECK-NEXT: |-ReturnStmt {{.*}} <line:26:5, col:12>
// CHECK-NEXT: | `-IntegerLiteral {{.*}} <col:12> 'int' 4
@@ -41,7 +42,6 @@ int g(int i) {
// CHECK-NEXT: `-ImplicitCastExpr {{.*}} <col:12> 'int' <LValueToRValue>
// CHECK-NEXT: `-DeclRefExpr {{.*}} <col:12> 'int' lvalue ParmVar {{.*}} 'i' 'int'
-
namespace TestInvalidFunctionDecl {
struct Str {
double foo1(double, invalid_type);
OpenPOWER on IntegriCloud