Closed
Description
The following test fails to compile:
null_name.cpp.txt
$ clang++ -fsycl null_name.cpp -lOpenCL
In file included from :1:
/tmp/null_name-36241f.h:41:31: error: unknown type name 'nullptr_t'; did you mean 'std::nullptr_t'?
template <> struct KernelInfo<nullptr_t> {
^~~~~~~~~
std::nullptr_t
/usr/lib/gcc/x86_64-linux-gnu/7.3.0/../../../../include/x86_64-linux-gnu/c++/7.3.0/bits/c++config.h:235:29: note: 'std::nullptr_t' declared here
typedef decltype(nullptr) nullptr_t;
^
1 error generated.
Metadata
Metadata
Assignees
Labels
No labels