From 549f111e06e0fcffa38ad3d0cd38b9fa54fc8e3e Mon Sep 17 00:00:00 2001 From: JP Lehr Date: Tue, 21 Jan 2025 09:00:41 -0600 Subject: [PATCH] [Flang][OpenMP] Fix run line w/ use mod_lib --- flang/test/Lower/OpenMP/Todo/allocate-clause-allocator.f90 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/flang/test/Lower/OpenMP/Todo/allocate-clause-allocator.f90 b/flang/test/Lower/OpenMP/Todo/allocate-clause-allocator.f90 index 90158a61f7503..45b3aa8ee77f9 100644 --- a/flang/test/Lower/OpenMP/Todo/allocate-clause-allocator.f90 +++ b/flang/test/Lower/OpenMP/Todo/allocate-clause-allocator.f90 @@ -1,11 +1,10 @@ ! REQUIRES: openmp_runtime -! RUN: %not_todo_cmd %flang_fc1 -emit-llvm -fopenmp -fopenmp-version=51 -o - %s 2>&1 | FileCheck %s +! RUN: %not_todo_cmd %flang_fc1 -emit-llvm %openmp_flags -fopenmp-version=51 -o - %s 2>&1 | FileCheck %s ! CHECK: not yet implemented: Unhandled clause allocate in omp.parallel ! CHECK: LLVM Translation failed for operation: omp.parallel program p - !use omp_lib - integer(8),parameter::omp_default_mem_alloc=1_8 + use omp_lib integer :: x integer :: a integer :: i