Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / OpenMP / x86_target_throw.cpp
bloba9186bac43d63fbc9e116541f148ecf0618ae751
1 // REQUIRES: x86-registered-target, staticanalyzer
3 // RUN: %clang_cc1 -fopenmp -triple x86_64-pc-linux-gnu -fopenmp-is-target-device -fcxx-exceptions -fexceptions %s -emit-llvm -S -verify -Wopenmp-target-exception -analyze
4 #pragma omp declare target
5 void foo(void) {
6 throw 404;
8 #pragma omp end declare target
9 // expected-no-diagnostics