Sign in
fuchsia
/
third_party
/
swift-clang
/
b9d76a314c1e4c79217df9cd9d168d007e90a51c
/
.
/
test
/
SemaCUDA
/
gnu-inline.cu
blob: 0ed543326be80d5b76d2ccdb3bf69ad9abab32a9 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
#include
"Inputs/cuda.h"
// expected-no-diagnostics
// Check that we can handle gnu_inline functions when compiling in CUDA mode.
void
foo
();
inline
__attribute__
((
gnu_inline
))
void
bar
()
{
foo
();
}