From: Jason Merrill Date: Wed, 23 Feb 2000 20:23:15 +0000 (-0500) Subject: new X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2b4c13564309cf4a527c804edf6d8129bd7ada6e;p=gcc.git new From-SVN: r32122 --- diff --git a/gcc/testsuite/g++.old-deja/g++.other/access10.C b/gcc/testsuite/g++.old-deja/g++.other/access10.C new file mode 100644 index 00000000000..bca6ac3642d --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.other/access10.C @@ -0,0 +1,9 @@ +// Test that defining a static member of private type with the () syntax works. +// Build don't link: + +class A { + private: + struct B { B(int) {} }; + static B b; +}; +A::B A::b (1);