Forbid arrays of function-type and structures with function-typed fields.
[llvm/avr.git] / test / FrontendC / 2007-02-16-VoidPtrDiff.c
blob713b9b28b075a443de34d4729f0a4b9a912b49d5
1 // RUN: %llvmgcc %s -S -o - -emit-llvm
3 void foo(void *ptr, int test) {
4 (ptr - ((void *) test + 0x2000));