OSDN Git Service

PR c++/34774
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / cond5.C
1 // PR c++/18464
2
3 struct A
4 {
5   A(int);
6   operator void*() const;
7 };
8
9 template<int> void foo(const A& x) { 0 ? x : (x ? x : 0); }