Mercurial > hg > CbC > CbC_llvm
view clang/test/SemaCUDA/openmp-static-func.cu @ 165:597b3f1c2c93
fix call createTailCallEliminationPass
author | anatofuz |
---|---|
date | Tue, 24 Mar 2020 15:30:52 +0900 |
parents | 1d019706d866 |
children |
line wrap: on
line source
// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fsyntax-only \ // RUN: -verify -fopenmp %s // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fsyntax-only \ // RUN: -verify -fopenmp -x hip %s // expected-no-diagnostics // Tests there is no assertion in Sema::markKnownEmitted when fopenmp is used // with CUDA/HIP host compilation. static void f() {} static void g() { f(); } static void h() { g(); }