Sign in
chromium
/
external
/
github.com
/
llvm-mirror
/
clang
/
327f79bc69360fadf014aecc5e81bc706f9693b6
/
.
/
test
/
SemaCUDA
/
gnu-inline.cu
blob: e383082f2a773f6b0309f48ffd1f89bb0c0e5823 [
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
();
extern
inline
__attribute__
((
gnu_inline
))
void
bar
()
{
foo
();
}