12 lines · plain
1! Check that the driver passes through -f[no-]realloc-lhs:2! RUN: %flang -### -S -frealloc-lhs %s -o - 2>&1 | FileCheck %s --check-prefix=ON3! RUN: %flang -### -S -fno-realloc-lhs %s -o - 2>&1 | FileCheck %s --check-prefix=OFF4 5! Check that the compiler accepts -f[no-]realloc-lhs:6! RUN: %flang_fc1 -emit-hlfir -frealloc-lhs %s -o -7! RUN: %flang_fc1 -emit-hlfir -fno-realloc-lhs %s -o -8 9! ON: "-fc1"{{.*}}"-frealloc-lhs"10 11! OFF: "-fc1"{{.*}}"-fno-realloc-lhs"12