FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.law / static-mem4.C
blob09e16371d3d76f4e8c113d7ac90525aac8de3a28
1 // Build don't link: 
2 // GROUPS passed static-mem
3 struct test {
4   void test_member() {
5     static test& ds = *this;    // FIX: static test* ds = this;
6   }
7 };
10 int main()
12   test t;