blob: 5f2a2e3313df5786b5529a4975e05af21db81537 [file] [log] [blame]
// RUN: %clang_cc1 -fsyntax-only -verify=notsycl -Wno-unused %s
// RUN: %clang_cc1 -fsyntax-only -fsycl-is-host -verify=sycl -Wno-unused %s
// RUN: %clang_cc1 -fsyntax-only -fsycl-is-device -verify=sycl -Wno-unused %s
// sycl-no-diagnostics
void foo() {
// notsycl-error@+1{{expected '(' for function-style cast or type construction}}
__builtin_sycl_unique_stable_name(int);
}