// { dg-do compile } // Contributed by: Giovanni Bajo #include template struct A {}; template struct B {}; A a; // { dg-warning "NULL" } B b; // { dg-error "" }