summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.robertl/eb95.C
blob: 51d8cffe9722203206db709f8422efc8a6a8bd81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// { dg-do run  }
struct A {};

template <class T>
void operator+ (A &i, T &b) {}

template<class T>
void func (A &a, T &b) {}

int main()
{
  A a;

#if STRANGE
  func(a, "egcs");
#endif
  a+"egcs";
}