diff options
Diffstat (limited to 'test/Sema/Intrinsics/bitops.f95')
-rw-r--r-- | test/Sema/Intrinsics/bitops.f95 | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/Sema/Intrinsics/bitops.f95 b/test/Sema/Intrinsics/bitops.f95 index 43fd36ae81..758db6869c 100644 --- a/test/Sema/Intrinsics/bitops.f95 +++ b/test/Sema/Intrinsics/bitops.f95 @@ -10,10 +10,9 @@ PROGRAM test integer(8) i64, i64_arr(10) logical l, l_arr(10) - ! FIXME: - !i = not(i) - !i = not(2.0) - !i = not(i64) + i = not(i) + i = not(2.0) ! expected-error {{passing 'real' to parameter of incompatible type 'integer'}} + i = not(i64) ! CHECK: i = int(not(i64)) i = iand(i,1) i = ior(i,i) ! CHECK: i = ior(i, i) |