Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/pr63904.C

raw
1 // { dg-do compile { target c++11 } }
2 // { dg-options "-Wno-pedantic" }
3
4 template<int N>
5 struct foo {
6 constexpr foo() : a() {}
7 int a[N];
8 };
9
10 int main() {
11 foo< (foo<1>{}).a[0] > f;
12 return 0;
13 }
14