diff options
author | arphaman <arphaman@gmail.com> | 2013-08-03 14:42:50 +0100 |
---|---|---|
committer | arphaman <arphaman@gmail.com> | 2013-08-03 14:42:50 +0100 |
commit | dad140e6a7dcab02bb5fd52d07d0f47a6a7348c8 (patch) | |
tree | 0aa305db85d07075f7fe8d2b838499e214285023 /test/Parser | |
parent | 5c42945b833399be85ab165afa204aeb10107dea (diff) | |
download | flang-dad140e6a7dcab02bb5fd52d07d0f47a6a7348c8.tar.gz |
added parsing and sema for computed goto statement
Diffstat (limited to 'test/Parser')
-rw-r--r-- | test/Parser/computedGoto.f95 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Parser/computedGoto.f95 b/test/Parser/computedGoto.f95 new file mode 100644 index 0000000000..1520b16e90 --- /dev/null +++ b/test/Parser/computedGoto.f95 @@ -0,0 +1,11 @@ +! RUN: %flang -fsyntax-only < %s +PROGRAM gototest + INTEGER I + +10 I = 0 +20 GOTO(10) I + GOTO(10, 20) 3-1 +30 I = 3 + GOTO(10, 20, 30) I + +END PROGRAM |