summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/t40.C
blob: e518ed294a71572d36917c9bd1c4b8cbf6029281 (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-do assemble  }

struct A {
  struct B {
    B (int);
  };
  static int foop (B);
  static int splat () {
    return foop (B (1));
  }
};