aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/misc6.C
blob: b05c1f1da54b8887bcf061addcb6ef84675f2e0a (plain)
1
2
3
4
5
6
7
8
9
// Build don't link: 
// GROUPS passed miscellaneous
// test that use of `inline' is forbidden when it should be
inline int i;// ERROR - .*
struct c { inline int i; };// ERROR - .*
int foo (inline int i);// ERROR - .*
inline class c; // ERROR - inline
inline typedef int t; // ERROR - inline
class d { inline friend class c; }; // ERROR - inline