[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / ParserSYCL / unique_stable_name_sycl_only.cpp
blob5f2a2e3313df5786b5529a4975e05af21db81537
1 // RUN: %clang_cc1 -fsyntax-only -verify=notsycl -Wno-unused %s
2 // RUN: %clang_cc1 -fsyntax-only -fsycl-is-host -verify=sycl -Wno-unused %s
3 // RUN: %clang_cc1 -fsyntax-only -fsycl-is-device -verify=sycl -Wno-unused %s
5 // sycl-no-diagnostics
6 void foo() {
7 // notsycl-error@+1{{expected '(' for function-style cast or type construction}}
8 __builtin_sycl_unique_stable_name(int);