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