mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-02 06:16:09 +00:00
17 lines
184 B
C
17 lines
184 B
C
// 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;
|
|
}
|
|
|