mirror of
https://github.com/frida/tinycc
synced 2025-03-01 21:51:25 +03:00

gcc/pcc allow __asm__() outside a function body: extern void vide(void); __asm__("vide: ret"); There is many such code in the Linux kernels.
8 lines
88 B
C
8 lines
88 B
C
extern void vide(void);
|
|
__asm__("vide: ret");
|
|
|
|
int main() {
|
|
vide();
|
|
return 0;
|
|
}
|