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

template <class X> class A {
public:
  X aaa;
  int foo();
};

template <class X> A<X> f(X);

void frep() {
  int x;
  x = f(6.4).foo();
}