Sign in
chromium
/
external
/
github.com
/
emscripten-core
/
emscripten-fastcomp-clang
/
refs/heads/land-pnacl-3.5
/
.
/
test
/
Frontend
/
stdlang.c
blob: 71997f1403c398f6d7ceaf5b6ad1bc5847029d38 [
file
] [
log
] [
blame
] [
edit
]
// RUN: %clang_cc1 -x cuda -std=c++11 -DCUDA %s
// RUN: %clang_cc1 -x cl -std=c99 -DOPENCL %s
// expected-no-diagnostics
#if defined(CUDA)
__attribute__
((
device
))
void
f_device
();
#elif
defined
(
OPENCL
)
kernel
void
func
(
void
);
#endif