summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/t41.C
blob: 4bf91cc781b49c8526657b216dcf00bfe1de53ec (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);
  int splat () {
    return foop (B (1));
  }
};