diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2014-04-08 18:57:44 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2014-04-08 18:57:44 +0000 |
commit | 2110f05f64b4ef1f62ba067d48737fdc7ddbaef5 (patch) | |
tree | ef7e94592152c9e1639a5c809d58501fdd00f16d /clang/test | |
parent | a6c48804fcdec6eb7f12bdb2cca8694a73ef6fae (diff) | |
download | llvm-2110f05f64b4ef1f62ba067d48737fdc7ddbaef5.zip llvm-2110f05f64b4ef1f62ba067d48737fdc7ddbaef5.tar.gz llvm-2110f05f64b4ef1f62ba067d48737fdc7ddbaef5.tar.bz2 |
Merging r200953:
------------------------------------------------------------------------
r200953 | rtrieu | 2014-02-06 18:26:23 -0500 (Thu, 06 Feb 2014) | 3 lines
Fixes PR18762, stop the StmtPrinter for ObjCPropertyRefExpr from crashing on
certain receiver types.
------------------------------------------------------------------------
llvm-svn: 205785
Diffstat (limited to 'clang/test')
-rw-r--r-- | clang/test/Misc/ast-dump-decl.m | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/test/Misc/ast-dump-decl.m b/clang/test/Misc/ast-dump-decl.m index f8a5e5a2..539923b 100644 --- a/clang/test/Misc/ast-dump-decl.m +++ b/clang/test/Misc/ast-dump-decl.m @@ -134,3 +134,12 @@ void TestBlockDecl(int x) { // CHECK-NEXT: ... // CHECK-NEXT: capture ParmVar{{.*}} 'x' 'int' // CHECK-NEXT: CompoundStmt + +@interface B ++ (int) foo; +@end + +void f() { + __typeof__(B.foo) Test; +} +// CHECK: VarDecl{{.*}}Test 'typeof (B.foo)':'int' |