aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/constexpr-empty5.C
blob: e74f5ba1e35c8713f1d8c0e33b160b7e59dd1537 (plain)
1
2
3
4
5
6
7
// { dg-do compile { target c++11 } }

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

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