summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/warnings6.C
blob: 5557f19478bb04efce7b7e86e50e3bb17448a909 (plain)
1
2
3
4
5
6
7
8
9
// { dg-do assemble  }
// { dg-options "-O2 -Wall -ansi -pedantic" }
// GROUPS passed warnings
// should not emit this warning about func:
// 	x.C:2: warning: invalid storage class for function `func'
//
template <class T> inline void func(T)
{
}