Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.law/static-mem4.C

raw
1 // { dg-do assemble }
2 // GROUPS passed static-mem
3 struct test {
4 void test_member() {
5 static test& ds = *this; // FIX: static test* ds = this;
6 }
7 };
8
9
10 int main()
11 {
12 test t;
13 }