tinycc/tests/tests2/85-asm-outside-function.c
Michael Matz 42e2a67f23 Fix some code suppression fallout
Some more subtle issues with code suppression:
- outputting asms but not their operand setup is broken
- but global asms must always be output
- statement expressions are transparent to code suppression
- vtop can't be transformed from VT_CMP/VT_JMP when nocode_wanted

Also remove .exe files from tests2 if they don't fail.
2016-12-20 04:58:34 +01:00

10 lines
150 B
C

extern int printf (const char *, ...);
extern void vide(void);
__asm__("vide: ret");
int main() {
vide();
printf ("okay\n");
return 0;
}