Debian Codegraph @

clang/test/SemaCUDA/consteval-func.cu

raw
1 // RUN: %clang_cc1 -std=c++20 -fsyntax-only -verify %s
2
3 // expected-no-diagnostics
4
5 #include "Inputs/cuda.h"
6
7 __device__ consteval int f() { return 0; }
8 int main() { return f(); }