c++: Make *_cast<*> parsing more robust to errors [PR108438]
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / overload4.C
blob3dcb39704d7e056d0c41cc9e4f91626473936213
1 // { dg-do assemble  }
3 template <class T> void foo(T);
5 template <class T> void bar(void (*)(T), T);
7 void baz() {
8   bar<int>(foo, 1);
9   bar(foo<int>, 1);
10   bar<int>(foo<int>, 1);
11   bar(foo, 1);