diff options
author | arphaman <arphaman@gmail.com> | 2013-09-08 18:57:41 +0100 |
---|---|---|
committer | arphaman <arphaman@gmail.com> | 2013-09-08 18:57:41 +0100 |
commit | 4a3b07263c53885cfee0a528f798f1a0cdb0c3ac (patch) | |
tree | 0d20671f369849a3ba586379da9d0e517428068b /test/Parser | |
parent | 986509873c206cfce542dbc89e23dbaea10dcbf6 (diff) | |
download | flang-4a3b07263c53885cfee0a528f798f1a0cdb0c3ac.tar.gz |
started parsing and sema for type declarations
Diffstat (limited to 'test/Parser')
-rw-r--r-- | test/Parser/type.f95 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/Parser/type.f95 b/test/Parser/type.f95 index 092f1b31b7..8cf7410fdc 100644 --- a/test/Parser/type.f95 +++ b/test/Parser/type.f95 @@ -1,6 +1,10 @@ -! RUN: %flang -fsyntax-only < %s +! RUN: %flang -verify -fsyntax-only < %s PROGRAM typetest TYPE Point REAL X, Y END TYPE Point + + TYPE foo 22 ! expected-error {{expected line break or ';' at end of statement}} + INTEGER K + END TYPE END PROGRAM typetest |