URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [constexpr-typedef1.C] - Rev 715
Go to most recent revision | Compare with Previous | Blame | View Log
// PR c++/50508
// { dg-options -std=c++0x }
template <class T>
struct integral_constant {
typedef T value_type;
constexpr operator value_type() { return true; }
};
static constexpr bool value = integral_constant<bool>()
&& true;
Go to most recent revision | Compare with Previous | Blame | View Log