☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr63904.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/pr63904.C
code
plain
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