1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 template<typename T
, typename U
>
8 template<typename T
, typename U
>
9 struct X0
<T
, U
>::Inner
{
13 void f() { x
= y
; } // expected-error{{incompatible}}
17 void test(int i
, float f
) {
18 X0
<int, float>::Inner inner
;
23 X0
<int*, float *>::Inner inner2
;
26 inner2
.f(); // expected-note{{instantiation}}