summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/template8.C
blob: 07c46ed0a0ce1c8fa25f8ffd0110e12a0bb993cc (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do assemble  }
// PRMS Id: 4827

class A;
template <class T> int f (const T&, const A *);

int g (const int& a)
{
  return f (a, (A *)0); // { dg-bogus "" } failed unification
}