projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add test for this:
[oota-llvm.git]
/
test
/
CFrontend
/
2004-03-16-AsmRegisterCrash.c
diff --git
a/test/CFrontend/2004-03-16-AsmRegisterCrash.c
b/test/CFrontend/2004-03-16-AsmRegisterCrash.c
index 864d6ebad22b70398453fd3c7cad059f158b6156..6ad1cd48f3cd116de4ac5a5776dfba53948d0db5 100644
(file)
--- a/
test/CFrontend/2004-03-16-AsmRegisterCrash.c
+++ b/
test/CFrontend/2004-03-16-AsmRegisterCrash.c
@@
-1,3
+1,5
@@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
int foo() {
register int X __asm__("ebx");
return X;