Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / SemaObjCXX / parameterized_classes.mm
blob48542634bdd9d48733645897166fd47e74bc5455
1 // RUN: %clang_cc1 -std=c++11 %s -verify
3 // expected-no-diagnostics
4 @protocol NSObject
5 @end
7 @protocol NSCopying
8 @end
10 __attribute__((objc_root_class))
11 @interface NSObject <NSObject>
12 @end
14 @interface NSString : NSObject
15 @end
17 // --------------------------------------------------------------------------
18 // Parsing parameterized classes.
19 // --------------------------------------------------------------------------
20 @interface PC1<T, U, V> : NSObject
21 @end
23 // --------------------------------------------------------------------------
24 // Parsing type arguments.
25 // --------------------------------------------------------------------------
26 typedef PC1<::NSString *, NSString *, id<NSCopying>> typeArgs1;