[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / template / sizeof3.C
blob7c9d0d2c9da22423db13d00850212d7de7f57a4c
1 // The call to f is not potentially evaluated (3.2), so f<int> is not used,
2 // so it should not be required.
4 template <class T>
5 T f (T)
7   typename T::X x;
10 int main()
12   int i = sizeof (f(0));