summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/constexpr-60432.C
blob: 37d78d31a338cca6cf9c4fa66da57d5ee7fac2d3 (plain)
1
2
3
4
5
6
7
8
// PR c++/60432
// { dg-do compile { target c++11 } }

struct A
{
  int a;
  static constexpr int A::*p = &A::a;
};