diff options
author | Jason Merrill <jason@gcc.gnu.org> | 2000-02-23 15:23:15 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2000-02-23 15:23:15 -0500 |
commit | 2b4c13564309cf4a527c804edf6d8129bd7ada6e (patch) | |
tree | 88c5309ccb326d2176260b4779d520f0552af163 | |
parent | 525bc95d4a71eef870aa511696aef58f752c5cac (diff) | |
download | gcc-2b4c13564309cf4a527c804edf6d8129bd7ada6e.zip gcc-2b4c13564309cf4a527c804edf6d8129bd7ada6e.tar.gz gcc-2b4c13564309cf4a527c804edf6d8129bd7ada6e.tar.bz2 |
new
From-SVN: r32122
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.other/access10.C | 9 |
1 files changed, 9 insertions, 0 deletions
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 0000000..bca6ac3 --- /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); |