llvm-project/clang/test/CodeGen/exprs.c

17 lines
184 B
C
Raw Normal View History

// RUN: clang %s -emit-llvm
// PR1895
// sizeof function
int zxcv(void);
int x=sizeof(zxcv);
int y=__alignof__(zxcv);
void *test(int *i) {
short a = 1;
i += a;
i + a;
a + i;
}