Sign in
fuchsia
/
third_party
/
swift-clang
/
a40ea3abe6e2f0b338d00c38fe7d724241c5af97
/
.
/
test
/
Frontend
/
stdlang.c
blob: 71997f1403c398f6d7ceaf5b6ad1bc5847029d38 [
file
] [
log
] [
blame
]
// 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