[WebAssembly] Fix asan issue from https://reviews.llvm.org/D121349
[llvm-project.git] / flang / test / Semantics / struct01.f90
blob85d1159ba1dbbe777a2b66241ad591695207a6d8
1 ! RUN: %python %S/test_errors.py %s %flang_fc1
2 ! Check for new semantic errors from misuse of the DEC STRUCTURE extension
3 program main
4 !ERROR: Derived type '/undeclared/' not found
5 record /undeclared/ var
6 structure /s/
7 !ERROR: /s/ is not a known STRUCTURE
8 record /s/ attemptToRecurse
9 !ERROR: UNION is not yet supported
10 union
11 map
12 integer j
13 end map
14 map
15 real x
16 end map
17 end union
18 end structure
19 end