From 6afe668ec7a11736a9418a46370af89a8c657ee8 Mon Sep 17 00:00:00 2001 From: seyko Date: Sun, 1 May 2016 22:38:38 +0300 Subject: __asm__() outside function gcc/pcc allow __asm__() outside a function body: extern void vide(void); __asm__("vide: ret"); There is many such code in the Linux kernels. --- tests/tests2/85-asm-outside-function.expect | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 tests/tests2/85-asm-outside-function.expect (limited to 'tests/tests2/85-asm-outside-function.expect') diff --git a/tests/tests2/85-asm-outside-function.expect b/tests/tests2/85-asm-outside-function.expect new file mode 100644 index 0000000..e69de29 -- cgit v1.3.1