Sign in
fuchsia
/
third_party
/
swift-clang
/
refs/tags/swift-2.2-SNAPSHOT-2016-03-01-a
/
.
/
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