]> gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/g++.dg/cpp0x/constexpr-typedef1.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-typedef1.C
1 // PR c++/50508
2 // { dg-do compile { target c++11 } }
3
4 template <class T>
5 struct integral_constant {
6 typedef T value_type;
7 constexpr operator value_type() { return true; }
8 };
9
10 static constexpr bool value = integral_constant<bool>()
11 && true;
This page took 0.038697 seconds and 5 git commands to generate.