diff options
author | Steve Naroff <snaroff@apple.com> | 2009-10-28 22:03:49 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2009-10-28 22:03:49 +0000 |
commit | f0c8611d3fe5c6d17d5b687ed52bd2abb49a32ff (patch) | |
tree | 92e91e134d75f0ca995a5ae7cb84bf6561c84031 /clang/test | |
parent | 14f162d9dcb0cf4ced08834eb27dc999982d1077 (diff) | |
download | bcm5719-llvm-f0c8611d3fe5c6d17d5b687ed52bd2abb49a32ff.tar.gz bcm5719-llvm-f0c8611d3fe5c6d17d5b687ed52bd2abb49a32ff.zip |
Fix <rdar://problem/7330784>. Avoid crashing on 'Class<p>' when generating meta-data for a class.
llvm-svn: 85440
Diffstat (limited to 'clang/test')
-rw-r--r-- | clang/test/CodeGenObjC/encode-test-2.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/CodeGenObjC/encode-test-2.m b/clang/test/CodeGenObjC/encode-test-2.m index 6901168b1d0..07a53367557 100644 --- a/clang/test/CodeGenObjC/encode-test-2.m +++ b/clang/test/CodeGenObjC/encode-test-2.m @@ -3,7 +3,7 @@ // RUN: grep -e "@\\\22<X><Y>\\\22" %t && // RUN: grep -e "@\\\22<X><Y><Z>\\\22" %t && // RUN: grep -e "@\\\22Foo<X><Y><Z>\\\22" %t && -// RUN: grep -e "{Intf=@@@@}" %t +// RUN: grep -e "{Intf=@@@@#}" %t @protocol X, Y, Z; @class Foo; @@ -17,6 +17,7 @@ id <X> IVAR_x; id <X, Y> IVAR_xy; id <X, Y, Z> IVAR_xyz; Foo <X, Y, Z> *IVAR_Fooxyz; +Class <X> IVAR_Classx; } @end |