blob: d071a3c322f382212c4a2cf88613d64809206953 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
! { dg-do compile }
! { dg-options "-Wconversion-extra" }
real(8) :: sqrt2
real x
x = 2.0
sqrt2 = sqrt(x) ! { dg-warning "Conversion" }
sqrt2 = sqrt(2.0) ! { dg-warning "Conversion" }
end
|