diff options
author | Chris Lattner <sabre@nondot.org> | 2005-01-02 21:11:11 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-01-02 21:11:11 +0000 |
commit | 4be483baa4c2c7fc2ec9622dfbfe5f00f1da65d0 (patch) | |
tree | eaba40bcf3cc18c5029c2df22555e1dc9a27f9d4 /test | |
parent | 71dbefed4e6c9de86bcc38779f599901f8e1bdf1 (diff) |
Testcase for PR494
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19258 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CFrontend/2005-01-02-PointerDifference.c.tr | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CFrontend/2005-01-02-PointerDifference.c.tr b/test/CFrontend/2005-01-02-PointerDifference.c.tr new file mode 100644 index 0000000000..a351da2ed8 --- /dev/null +++ b/test/CFrontend/2005-01-02-PointerDifference.c.tr @@ -0,0 +1,3 @@ +// RUN: %llvmgcc -xc %s -c -o - | llvm-dis | grep -v div + +int Diff(int *P, int *Q) { return P-Q; } |