1 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -fsycl-is-device -verify %s
2 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify -x c++ %s
4 #ifndef __SYCL_DEVICE_ONLY__
5 // expected-warning@+5 {{'sycl_special_class' attribute ignored}}
7 // expected-no-diagnostics
10 class __attribute__((sycl_special_class
)) special_class
{