mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-30 02:36:07 +00:00
20 lines
227 B
C
20 lines
227 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;
|
|
}
|
|
|
|
_Bool test2b;
|
|
int test2() {if (test2b);}
|
|
|