diff --git a/clang/test/SemaSYCL/address-space-parameter-conversions.cpp b/clang/test/SemaSYCL/address-space-parameter-conversions.cpp index af3815d3832c..f037244d7cfc 100644 --- a/clang/test/SemaSYCL/address-space-parameter-conversions.cpp +++ b/clang/test/SemaSYCL/address-space-parameter-conversions.cpp @@ -14,8 +14,6 @@ void tmpl(T *t){} void usages() { __attribute__((opencl_global)) int *GLOB; - __attribute__((opencl_global_device)) int *GLOBDEV; - __attribute__((opencl_global_host)) int *GLOBHOST; __attribute__((opencl_private)) int *PRIV; __attribute__((opencl_local)) int *LOC; int *NoAS; @@ -23,13 +21,6 @@ void usages() { bar(*GLOB); bar2(*GLOB); - bar(*GLOBDEV); - bar2(*GLOBDEV); - bar3(*GLOBDEV); - - bar(*GLOBHOST); - bar2(*GLOBHOST); - bar3(*GLOBHOST); bar(*PRIV); bar2(*PRIV); @@ -42,12 +33,6 @@ void usages() { foo(GLOB); foo2(GLOB); - foo(GLOBDEV); - foo2(GLOBDEV); - foo3(GLOBDEV); - foo(GLOBDEV); - foo2(GLOBHOST); - foo3(GLOBHOST); foo(PRIV); foo2(PRIV); foo(NoAS); @@ -56,18 +41,12 @@ void usages() { foo2(LOC); tmpl(GLOB); - tmpl(GLOBDEV); - tmpl(GLOBHOST); tmpl(PRIV); tmpl(NoAS); tmpl(LOC); (void)static_cast(GLOB); (void)static_cast(GLOB); - (void)static_cast(GLOBDEV); - (void)static_cast(GLOBDEV); - (void)static_cast(GLOBHOST); - (void)static_cast(GLOBHOST); // FIXME: determine if we can warn on the below conversions. int *i = GLOB; void *v = GLOB;