]> gcc.gnu.org Git - gcc.git/blame - gcc/testsuite/g++.dg/cpp0x/pr50901.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr50901.C
CommitLineData
4b2e63de 1// { dg-do compile { target c++11 } }
6908120a
PC
2
3template<class T> int foo(int a)
4{
5 const unsigned b = a < 0 ? -a : a;
6 return 0;
7}
8
9int i = foo<float>(1);
This page took 5.569864 seconds and 5 git commands to generate.