add clang
This commit is contained in:
parent
4715742aa8
commit
9a4b261179
890 changed files with 229323 additions and 20 deletions
15
05/tcc-final/tests/tests2/85_asm-outside-function.c
Normal file
15
05/tcc-final/tests/tests2/85_asm-outside-function.c
Normal file
|
@ -0,0 +1,15 @@
|
|||
#ifdef __leading_underscore
|
||||
# define _ "_"
|
||||
#else
|
||||
# define _
|
||||
#endif
|
||||
|
||||
extern int printf (const char *, ...);
|
||||
extern void vide(void);
|
||||
__asm__(_"vide: ret");
|
||||
|
||||
int main() {
|
||||
vide();
|
||||
printf ("okay\n");
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue