view clang/test/CodeGen/2007-02-16-VoidPtrDiff.c @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children
line wrap: on
line source

// RUN: %clang_cc1 %s -emit-llvm -o -

void foo(void *ptr, int test) {
  (ptr - ((void *) test + 0x2000));
}