diff options
Diffstat (limited to 'clang/test')
-rw-r--r-- | clang/test/CodeGen/exprs.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/CodeGen/exprs.c b/clang/test/CodeGen/exprs.c index 91153691733..16b63f8883b 100644 --- a/clang/test/CodeGen/exprs.c +++ b/clang/test/CodeGen/exprs.c @@ -17,3 +17,9 @@ void *test(int *i) { _Bool test2b; int test2() {if (test2b);} +// PR1921 +int test3() { + const unsigned char *bp; + bp -= (short)1; +} + |