diff options
Diffstat (limited to 'test/CFrontend')
-rw-r--r-- | test/CFrontend/2002-07-30-SubregSetAssertion.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/CFrontend/2002-07-30-SubregSetAssertion.c b/test/CFrontend/2002-07-30-SubregSetAssertion.c new file mode 100644 index 0000000..5316e74 --- /dev/null +++ b/test/CFrontend/2002-07-30-SubregSetAssertion.c @@ -0,0 +1,13 @@ + +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; +} |