aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.6/gcc/testsuite/g++.dg/cpp0x/constexpr-empty5.C
blob: 9bd9aa583dcac63618f7a3ee6c20db2588ecb6ec (plain)
1
2
3
4
5
6
7
// { dg-options -std=c++0x }

struct A { };
struct B: A { };

constexpr B b { };
constexpr A a = b;