From: Jason Merrill Date: Sun, 26 Apr 1998 15:21:49 +0000 (-0400) Subject: new X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=965cec417884aea6ecada41cdc75902f91246ee7;p=gcc.git new From-SVN: r19416 --- diff --git a/gcc/testsuite/g++.old-deja/g++.other/access1.C b/gcc/testsuite/g++.old-deja/g++.other/access1.C new file mode 100644 index 00000000000..43aff60a161 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.other/access1.C @@ -0,0 +1,14 @@ +// Build don't link: + +class X{ + unsigned int i; + public: + void f(); +}; + +void X::f() +{ + union { + int foo[sizeof (i)]; + }; +}