[cfe-commits] r51370 - /cfe/trunk/test/CodeGen/union.c
Eli Friedman
eli.friedman at gmail.com
Wed May 21 06:21:02 PDT 2008
Author: efriedma
Date: Wed May 21 08:21:01 2008
New Revision: 51370
URL: http://llvm.org/viewvc/llvm-project?rev=51370&view=rev
Log:
A small testcase; no patch, since it was a bug in a patch I never
committed.
Modified:
cfe/trunk/test/CodeGen/union.c
Modified: cfe/trunk/test/CodeGen/union.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/union.c?rev=51370&r1=51369&r2=51370&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/union.c (original)
+++ cfe/trunk/test/CodeGen/union.c Wed May 21 08:21:01 2008
@@ -31,3 +31,8 @@
union S65 { enum E9 a:62; } ; union S65 s65;
void fS65() { enum E9 e = s65.a; }
+typedef union{
+ unsigned char x[65536];
+} q;
+int qfunc() {q buf; unsigned char* x = buf.x;}
+
More information about the cfe-commits
mailing list