c++: robustify testcase [PR109752]
[official-gcc.git] / gcc / testsuite / g++.dg / template / sfinae33.C
blobee384e82a48d86e62e2fae45ada174d150a7d9c6
1 // PR c++/105351
3 template<int> struct A { };
5 template<class T> A<T::value> f();
6 template<class T> void f();
8 struct B { int value; };
10 int main() {
11   f<B>();