repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
[clang][Driver] Support simplified triple versions for config files (#111387)
[llvm-project.git]
/
clang
/
test
/
SemaCUDA
/
gnu-inline.cu
blob
e383082f2a773f6b0309f48ffd1f89bb0c0e5823
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
3
#include "Inputs/cuda.h"
4
5
// expected-no-diagnostics
6
7
// Check that we can handle gnu_inline functions when compiling in CUDA mode.
8
9
void foo();
10
extern inline __attribute__((gnu_inline)) void bar() { foo(); }