tinycc/tests/tests2/85-asm-outside-function.c
seyko 6afe668ec7 __asm__() outside function
gcc/pcc allow __asm__() outside a function body:
    extern void vide(void);
    __asm__("vide: ret");

    There is many such code in the Linux kernels.
2016-05-01 22:38:38 +03:00

8 lines
88 B
C

extern void vide(void);
__asm__("vide: ret");
int main() {
vide();
return 0;
}