Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / OpenMP / target_unknown_file.cpp
blob8700c74ea5de17ce02ba4773f00e22f52ddaa83d
1 // RUN: %clang_cc1 -verify -fopenmp -triple x86_64-apple-darwin10.6.0 -emit-llvm -o - %s 2>&1 | FileCheck %s
2 // expected-no-diagnostics
4 // CHECK-NOT: fatal error: cannot open file
6 // CHECK: call void @__omp_offloading_{{.+}}()
7 # 1 "unknown.xxxxxxxx"
8 void a() {
9 #pragma omp target
13 // CHECK-NOT: fatal error: cannot open file