[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / gfortran.dg / spread_init_expr_2.f90
blob19c27fadca8a2e4b4c56053326e56c2d7dfaab6a
1 ! { dg-do compile }
2 ! { dg-options "-std=f95" }
3 module bug
4 integer :: ibug(42) = spread(42, 1, 42) ! { dg-error "invalid in an initialization expression" }
5 end module