PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / diagnostic / pr13981.C
blob1b8a028d948d790eac20bcf8eb20854c6f3af606
1 // PR c++/13981
3 struct A {};
4 struct B;  // { dg-message "is incomplete" }
6 void func( A *a );
8 int main()
10   B *b = 0;
11   func(b);  // { dg-error "cannot convert" }