summaryrefslogtreecommitdiff
path: root/test/CodeGen/2007-02-04-EmptyStruct.c
blob: 2b2896f6d11a1d7d43b747a3092ef3cb10463f95 (plain)
1
2
3
4
5
6
7
8
9
// RUN: %clang_cc1 %s -O3 -emit-llvm -o -
// PR1175

struct empty { };

void foo(struct empty *p) {
   p++;
}