summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGen')
-rw-r--r--clang/test/CodeGen/pointer-arithmetic.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/CodeGen/pointer-arithmetic.c b/clang/test/CodeGen/pointer-arithmetic.c
index 6c644c6e06f..6b4de911128 100644
--- a/clang/test/CodeGen/pointer-arithmetic.c
+++ b/clang/test/CodeGen/pointer-arithmetic.c
@@ -3,3 +3,5 @@
typedef int Int;
int test1(int *a, Int *b) { return a - b; }
+
+int test2(const char *a, char *b) { return b - a; }
OpenPOWER on IntegriCloud