mirror of
https://github.com/frida/tinycc
synced 2024-12-26 06:56:49 +03:00
6afe668ec7
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;
|
|
}
|