blob: f04b0a1d8fedea48cdc57b62fdf28a8c5a5ba3c8 [file]
// RUN: clspv %s -w -constant-args-ubo -verify -inline-entry-points
struct s {
uchar x;
int2 y; //expected-note{{here}}
} __attribute((packed)) __attribute((aligned(16)));
__kernel void foo(__constant struct s* arg) { } //expected-error{{two-component vectors must be aligned to 2 times their element size}}