File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 11! RUN: %python %S/test_errors.py %s %flang_fc1 -pedantic -Werror
2- ! WARNING: INTEGER(4) 0**0 is not defined
2+ ! WARNING: INTEGER(4) 0**0 is not defined [-Wfolding-exception]
33print * , 0 ** 0
4- ! WARNING: REAL/COMPLEX 0**0 is not defined
4+ ! WARNING: REAL/COMPLEX 0**0 is not defined [-Wfolding-exception]
55print * , 0 ** 0 .
6- ! WARNING: invalid argument on power with INTEGER exponent
6+ ! WARNING: invalid argument on power with INTEGER exponent [-Wfolding-exception]
77print * , 0.0 ** 0
8- ! WARNING: REAL/COMPLEX 0**0 is not defined
8+ ! WARNING: REAL/COMPLEX 0**0 is not defined [-Wfolding-exception]
99print * , 0.0 ** 0 .
10- ! WARNING: invalid argument on power with INTEGER exponent
10+ ! WARNING: invalid argument on power with INTEGER exponent [-Wfolding-exception]
1111print * , (0.0 , 0.0 )** 0
12- ! WARNING: REAL/COMPLEX 0**0 is not defined
12+ ! WARNING: REAL/COMPLEX 0**0 is not defined [-Wfolding-exception]
1313print * , (0.0 , 0.0 )** 0 .
1414print * , (0.0 , 0.0 )** 2.5
1515end
16-
17-
You can’t perform that action at this time.
0 commit comments