[WebAssembly] Fix asan issue from https://reviews.llvm.org/D121349
[llvm-project.git] / flang / test / Semantics / altreturn02.f90
bloba14287173219821991fd4573e99ae76f2fd14cbd
1 ! RUN: %python %S/test_errors.py %s %flang_fc1
2 ! Check subroutine with alt return
4 SUBROUTINE TEST (N, *, *)
5 IF ( N .EQ. 0 ) RETURN
6 IF ( N .EQ. 1 ) RETURN 1
7 RETURN 2
8 END