projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New testcase distilled from mutt
[oota-llvm.git]
/
test
/
CFrontend
/
2002-07-30-SubregSetAssertion.c
diff --git
a/test/CFrontend/2002-07-30-SubregSetAssertion.c
b/test/CFrontend/2002-07-30-SubregSetAssertion.c
index 5316e74876b9d9ccb49749b6e0ace587a08c4247..e00a3ce9452931920316b1d5bdab1fba38404116 100644
(file)
--- a/
test/CFrontend/2002-07-30-SubregSetAssertion.c
+++ b/
test/CFrontend/2002-07-30-SubregSetAssertion.c
@@
-1,13
+1,10
@@
union X {
- //char C;
- //int A;
void *B;
};
-union X foo(union X A) {
- //A.C = 123;
- //A.A = 39249;
- A.B = (void*)123040123321;
+union X foo() {
+ union X A;
+ A.B = (void*)123;
return A;
}