summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.law/static-mem4.C
blob: 09e16371d3d76f4e8c113d7ac90525aac8de3a28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Build don't link: 
// GROUPS passed static-mem
struct test {
  void test_member() {
    static test& ds = *this;    // FIX: static test* ds = this;
  }
};


int main()
{
  test t;
}