Sign in
chromium
/
external
/
github.com
/
google
/
clspv
/
HEAD
/
.
/
test
/
Structs
/
nested_pointer_error2.cl
blob: 0f05a7946d6e5282e395830b4b221a7d9a222a3b [
file
] [
log
] [
blame
]
//
RUN
:
clspv
%
s -verify
typedef struct
T
{
int
*
a
[
2
]
;
}
T
;
kernel void foo
(
global
T
*
t
)
{
//
expected-error
{{
structures may not contain pointers
}}
(
void
)
t
;
}