mirror of
https://github.com/mirror/tinycc.git
synced 2024-12-28 04:00:06 +08: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;
|
|
}
|