diff options
Diffstat (limited to 'clang/test/CodeGen/exprs.c')
-rw-r--r-- | clang/test/CodeGen/exprs.c | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/clang/test/CodeGen/exprs.c b/clang/test/CodeGen/exprs.c deleted file mode 100644 index b4384ee..0000000 --- a/clang/test/CodeGen/exprs.c +++ /dev/null @@ -1,36 +0,0 @@ -// 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);} - -// PR1921 -int test3() { - const unsigned char *bp; - bp -= (short)1; -} - -// PR2080 - sizeof void -int t1 = sizeof(void); -int t2 = __alignof__(void); -void test4() { - t1 = sizeof(void); - t2 = __alignof__(void); - - t1 = sizeof(test4()); - t2 = __alignof__(test4()); -} - |