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