blob: ed6b0152e63e4042dd4449086331ea2e1bb8aa24 [file] [log] [blame]
// RUN: clspv %s -w -constant-args-ubo -verify -inline-entry-points
struct dt {
int x;
int y[4]; //expected-note{{here}}
} __attribute((aligned(32)));
__kernel void foo(__constant struct dt* c) { } //expected-error{{in an UBO, arrays must be aligned to their element alignment, rounded up to a multiple of 16}}