Sign in
fuchsia
/
third_party
/
github.com
/
llvm
/
llvm-project
/
refs/heads/main
/
.
/
clang
/
test
/
SemaCUDA
/
consteval-func.cu
blob: 293c1ce85830a72b6968d87a4216b67b02e73d7e [
file
] [
log
] [
blame
] [
edit
]
// RUN: %clang_cc1 -std=c++20 -fsyntax-only -verify %s
// expected-no-diagnostics
#include
"Inputs/cuda.h"
__device__ consteval
int
f
()
{
return
0
;
}
int
main
()
{
return
f
();
}