aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/noncompile/invalid_asm.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/noncompile/invalid_asm.c')
-rw-r--r--gcc/testsuite/gcc.c-torture/noncompile/invalid_asm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/noncompile/invalid_asm.c b/gcc/testsuite/gcc.c-torture/noncompile/invalid_asm.c
new file mode 100644
index 00000000000..bb017f4315e
--- /dev/null
+++ b/gcc/testsuite/gcc.c-torture/noncompile/invalid_asm.c
@@ -0,0 +1 @@
+asm_invalid_register_name(){asm("":::"this_is_an_invalid_register_name");}