blob: 8aaf381ffa62787de1bc0108844f6212f16f442f [file] [log] [blame]
// PR c++/84221
// { dg-additional-options -Wunused }
template <class T> struct __attribute((unused)) A { };
template <> struct A<char> { };
void f (void)
{
A<int> a; // shouldn't warn
A<char> ac; // { dg-warning "unused" }
}