Skip to content

Commit ec0aad7

Browse files
committed
Add simplistic test
1 parent b1ae371 commit ec0aad7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
! RUN: %flang_fc1 -emit-llvm -fopenmp -fopenmp-version=51 -fopenmp-targets=amdgcn-amd-amdhsa -o - %s | FileCheck %s
2+
program missing_inode
3+
#line "/this_path_should_not_exist_on_any_system_out_there/and_if_it_does_it_will_break_the/tes.f90" 700
4+
! CHECK: define internal void @__omp_offloading_{{[0-9a-f]+}}_{{[0-9a-f]+}}__QQmain_l701
5+
!$omp target
6+
call some_routine()
7+
!$omp end target
8+
end program missing_inode

0 commit comments

Comments
 (0)