coarray_41.f90: Add "-latomic" option if libatomic_available.
[official-gcc.git] / gcc / testsuite / gfortran.dg / inline_matmul_5.f90
blobbed1cb6a0afc946cb78e0ab3e7f86293fdaaf2e7
1 ! { dg-do run }
2 ! { dg-options "-ffrontend-optimize" }
3 program main
5 real, dimension(2,2) :: a,b,c
7 data a /2., 4., 8., 16. /
8 data b /3., 9., 27., 81./
10 c = matmul(a,b)
11 a = matmul(a,b)
12 if (any(a /= c)) call abort
13 end program main