diff options
Diffstat (limited to 'test/CodeGen/asm.c')
-rw-r--r-- | test/CodeGen/asm.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/CodeGen/asm.c b/test/CodeGen/asm.c index 4ef97bde2a..26aa3bd61b 100644 --- a/test/CodeGen/asm.c +++ b/test/CodeGen/asm.c @@ -22,7 +22,8 @@ void t4() __asm__ volatile ("":: "m"(a), "m"(b)); } - - - - +// PR3417 +void t5(int i) +{ + asm("nop" : "=r"(i) : "0"(t5)); +} |