* doc/extend.texi (Loop-Specific Pragmas): Document pragma GCC unroll.
[official-gcc.git] / gcc / testsuite / g++.dg / ext / complit11.C
blob0662543d941b8659e5c2316a572e6afdb8c037af
1 // { dg-do compile }
2 // { dg-options "" }
4 struct A { int i; };
6 template<int t>
7 void foo()
9     ((struct A) { 0 }).i += 1;  // { dg-error "temporary" }
12 void g(void)
14   foo<0>();