mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34361 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6070f2e2d2
commit
946b72af75
5
test/CFrontend/2007-02-16-VoidPtrDiff.c
Normal file
5
test/CFrontend/2007-02-16-VoidPtrDiff.c
Normal file
@ -0,0 +1,5 @@
|
||||
// RUN: %llvmgcc %s -S -o - -emit-llvm
|
||||
|
||||
void foo(void *ptr, int test) {
|
||||
(ptr - ((void *) test + 0x2000));
|
||||
}
|
Loading…
Reference in New Issue
Block a user