1 // Handle dllimport attribute for functions declared inline.
2 // { dg-do compile { target i?86-*-cygwin* i?86-*-mingw*} }
3 // { dg-options { -W } }
5 inline __attribute__((dllimport)) void bar() { } // { dg-warning "inline" }
7 struct __attribute__ ((dllimport)) Blah
9 void in_blah () { } // Don't warn if member declared inline in class definition.
13 inline void Blah::out_blah(){ } // Don't warn for inline override of external declaration
23 // { dg-final { scan-assembler-not "__imp__" } }