PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / template / cond5.C
blobbba31e6afb282408557eae0d0a3bbc457673bd42
1 // PR c++/18464
3 struct A
5   A(int);
6   operator void*() const;
7 };
9 template<int> void foo(const A& x) { 0 ? x : (x ? x : 0); }