1 // RUN: %clang_cc1 -triple=i686-apple-darwin9 -emit-llvm -o %t %s
2 // RUN: grep -e "T@\\\22<X>\\\22" %t
3 // RUN: grep -e "T@\\\22<X><Y>\\\22" %t
4 // RUN: grep -e "T@\\\22<X><Y><Z>\\\22" %t
5 // RUN: grep -e "T@\\\22Foo<X><Y><Z>\\\22" %t
11 @property (copy) id <X> x;
12 @property (copy) id <X, Y> xy;
13 @property (copy) id <X, Y, Z> xyz;
14 @property(copy) Foo <X, Y, Z> *fooxyz;
17 @interface Intf <Proto>
21 id <X, Y, Z> IVAR_xyz;
22 Foo <X, Y, Z> *IVAR_Fooxyz;
27 @dynamic x, xy, xyz, fooxyz;
31 This protocol should generate the following metadata:
32 struct objc_property_list __Protocol_Test_metadata = {
33 sizeof(struct objc_property), 4,
36 { "xy", "T@\"<X><Y>\"" },
37 { "xyz", "T@\"<X><Y><Z>\"" },
38 { "fooxyz", "T@\"Foo<X><Y><Z>\"" }