[AMDGPU][True16][CodeGen] true16 codegen pattern for v_med3_u/i16 (#121850)
[llvm-project.git] / clang / test / SemaObjCXX / ivar-construct.mm
blob5b67b9ea9edb27bf6173a25c5ffd93012d7b5d52
1 // RUN: %clang_cc1 -std=gnu++98 -fsyntax-only -verify -Wno-objc-root-class %s
2 struct Y { 
3   Y(); 
5 private:
6   ~Y(); // expected-note 3{{declared private here}}
7 };
9 template<typename T>
10 struct X : T { }; // expected-error 2{{private destructor}}
12 struct Z; // expected-note{{forward declaration}}
14 @interface A {
15   X<Y> x; // expected-note{{implicit destructor}}
16   Y y; // expected-error{{private destructor}}
18 @end
20 @implementation A // expected-note{{implicit default constructor}}
21 @end
23 @interface B {
24   Z z; // expected-error{{incomplete type}}
26 @end
28 @implementation B
29 @end
31 template<typename T> struct Incomplete; // expected-note{{declared here}}
33 @interface C {
34   Incomplete<int> a[4][4][4]; // expected-error{{implicit instantiation of undefined template 'Incomplete<int>'}}
36 @end