[WebAssembly] Fix asan issue from https://reviews.llvm.org/D121349
[llvm-project.git] / flang / test / Driver / emit-llvm.f90
blobc62680d6b5fbcd9429e398ff1fc8e5d067ab6e90
1 ! Test the `-emit-llvm` option
3 ! UNSUPPORTED: system-windows
4 ! Windows is currently not supported in flang/lib/Optimizer/CodeGen/Target.cpp
6 !------------
7 ! RUN COMMAND
8 !------------
9 ! RUN: %flang_fc1 -emit-llvm %s -o - | FileCheck %s
11 !----------------
12 ! EXPECTED OUTPUT
13 !----------------
14 ! CHECK: ; ModuleID = 'FIRModule'
15 ! CHECK: define void @_QQmain()
16 ! CHECK-NEXT: ret void
17 ! CHECK-NEXT: }
19 !------
20 ! INPUT
21 !------
22 end program