From: Chris Lattner Date: Thu, 22 May 2003 15:33:33 +0000 (+0000) Subject: New testcase X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f7b1bdf3b68ef331de936301c3b0ffd360c47a59;p=oota-llvm.git New testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6279 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/C++Frontend/2003-05-22-LocalTypeTest.c b/test/C++Frontend/2003-05-22-LocalTypeTest.c new file mode 100644 index 00000000000..af60a2e7744 --- /dev/null +++ b/test/C++Frontend/2003-05-22-LocalTypeTest.c @@ -0,0 +1,10 @@ +struct sometimes { + short offset; short bit; + short live_length; short calls_crossed; +} Y; + +int main() { + struct sometimes { int X, Y; } S; + S.X = 1; + return Y.offset; +}