aboutsummaryrefslogtreecommitdiffstats
path: root/test/CFrontend
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-07-30 06:07:16 +0000
committerChris Lattner <sabre@nondot.org>2002-07-30 06:07:16 +0000
commitf40e0c44725517957148a8084adb695fe02baa2f (patch)
tree72131f1658c117481fadd99bace908657d46c066 /test/CFrontend
parenta7e2dd4847b6817c8603857b991d00b614ff6670 (diff)
downloadexternal_llvm-f40e0c44725517957148a8084adb695fe02baa2f.zip
external_llvm-f40e0c44725517957148a8084adb695fe02baa2f.tar.gz
external_llvm-f40e0c44725517957148a8084adb695fe02baa2f.tar.bz2
Simplify testcase a bit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3150 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CFrontend')
-rw-r--r--test/CFrontend/2002-07-30-SubregSetAssertion.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/test/CFrontend/2002-07-30-SubregSetAssertion.c b/test/CFrontend/2002-07-30-SubregSetAssertion.c
index 5316e74..20314bf 100644
--- a/test/CFrontend/2002-07-30-SubregSetAssertion.c
+++ b/test/CFrontend/2002-07-30-SubregSetAssertion.c
@@ -1,13 +1,9 @@
union X {
- //char C;
- //int A;
void *B;
};
-union X foo(union X A) {
- //A.C = 123;
- //A.A = 39249;
- A.B = (void*)123040123321;
- return A;
+union X void foo() {
+ union X A;
+ A.B = (void*)123
}