Home | History | Annotate | Download | only in SemaTemplate

Lines Matching refs:Bar

37 template <typename T> struct Bar { T x; };
39 template <Bar<Qux> *P>
42 Bar<int> g;
48 template <typename T> struct Bar { T x; };
49 template <typename T = Bar<Weber>> // expected-error {{use of undeclared identifier 'Weber'}}
51 static_assert(sizeof(T) == 4, "Bar should have gotten int");
60 template <typename T = ns::Bar> // expected-error {{use of undeclared identifier 'ns'}}
62 static_assert(sizeof(T) == 4, "Bar should have gotten int");
64 namespace ns { typedef int Bar; }
94 template <typename T> struct Bar { T x; };
96 template <Bar<Xylophone> *P> // expected-error {{use of undeclared identifier 'Xylophone'}}
101 Bar<Xylophone> g;