blob: 6369076174b37e430d86e9da4d6f18e9c01cc1f3 [file] [log] [blame]
Shih-wei Liaof8fd82b2010-02-10 11:10:31 -08001// RUN: %clang_cc1 -triple i386-apple-darwin9 -emit-llvm %s -o %t
2
3@interface Foo
4{
5 double d1,d3,d4;
6}
7@end
8
9Foo* foo()
10{
11 Foo *f;
12
13 // Both of these crash clang nicely
14 ++f;
15 --f;
16 f--;
17 f++;
18 return f;
19}