| 1 |
// { dg-do assemble } |
| 2 |
// { dg-options "-O2 -Wall -ansi -pedantic" } |
| 3 |
// GROUPS passed warnings |
| 4 |
// should not emit this warning about func: |
| 5 |
// x.C:2: warning: invalid storage class for function `func' |
| 6 |
// |
| 7 |
template <class T> inline void func(T) |
| 8 |
{ |
| 9 |
} |