diff options
-rw-r--r-- | test/C++Frontend/2003-05-22-LocalTypeTest.c | 10 |
1 files changed, 10 insertions, 0 deletions
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 0000000000..af60a2e774 --- /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; +} |