summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/constexpr-static7.C
blob: ba4a25184076828c7813ab50c3e8a4e15b0e326b (plain)
1
2
3
4
5
6
7
8
// PR c++/48945
// { dg-options -std=c++0x }

struct A {
  static constexpr bool is();
};

constexpr bool A::is() { return true; }