http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50242
--- Comment #4 from congruwer at yahoo dot co.uk 2011-09-01 08:09:59 UTC --- Doesn't work: ---(start)--- inline __attribute__((always_inline)) void foobar(); asm (".globl __6foobarv; .type __6foobarv, @function;\n" "__6foobarv: ret; .size __6foobarv, . - __6foobarv;\n"); void test() { foobar(); } ---(end)--- test.cpp:1:44: error: inline function 'void foobar()' used but never defined