2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.dg / template / sizeof3.C
bloba98bbc30adc883811fbface14e77232aaa6696df
1 // The call to f is not potentially evaluated (3.2), so f<int> is not used,
2 // so it should not be instantiated.
4 template <class T>
5 T f (T)
7   typename T::X x;
10 int main()
12   int i = sizeof (f(0));