blob: b05c1f1da54b8887bcf061addcb6ef84675f2e0a [file] [log] [blame]
// 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