about summary refs log tree commit diff homepage
path: root/test/Feature/RaiseAsm.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Feature/RaiseAsm.c')
-rw-r--r--test/Feature/RaiseAsm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Feature/RaiseAsm.c b/test/Feature/RaiseAsm.c
index 6a4b7b3c..f8ba173a 100644
--- a/test/Feature/RaiseAsm.c
+++ b/test/Feature/RaiseAsm.c
@@ -36,5 +36,7 @@ int main() {
   assert(ui16 == byteswap_uint16(byteswap_uint16_asm(ui16)));
   assert(ui32 == byteswap_uint32(byteswap_uint32_asm(ui32)));
 
+  __asm__ __volatile__("" : : : "memory");
+
   return 0;
 }