1// { dg-do assemble } 2// GROUPS passed miscellaneous 3// test that use of `inline' is forbidden when it should be 4inline int i;// { dg-error "" } .* 5struct c { inline int i; };// { dg-error "" } .* 6int foo (inline int i);// { dg-error "" } .* 7inline class c; // { dg-error "" } inline 8inline typedef int t; // { dg-error "" } inline 9class d { inline friend class c; }; // { dg-error "" } inline 10