summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/pointer-cmp-type.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/pointer-cmp-type.c')
-rw-r--r--test/CodeGen/pointer-cmp-type.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CodeGen/pointer-cmp-type.c b/test/CodeGen/pointer-cmp-type.c
new file mode 100644
index 0000000..d88c091
--- /dev/null
+++ b/test/CodeGen/pointer-cmp-type.c
@@ -0,0 +1,3 @@
+// RUN: clang-cc -emit-llvm %s -o - | grep "icmp ult"
+
+int a(char* a, char* b) {return a<b;}
OpenPOWER on IntegriCloud