2011-10-02 09:16:38 +08:00
|
|
|
// RUN: %clang_cc1 -triple i386-apple-darwin9 -fobjc-fragile-abi -emit-llvm %s -o %t
|
2009-07-17 06:04:59 +08:00
|
|
|
|
|
|
|
@interface Foo
|
|
|
|
{
|
|
|
|
double d1,d3,d4;
|
|
|
|
}
|
|
|
|
@end
|
|
|
|
|
|
|
|
Foo* foo()
|
|
|
|
{
|
|
|
|
Foo *f;
|
|
|
|
|
|
|
|
// Both of these crash clang nicely
|
|
|
|
++f;
|
|
|
|
--f;
|
|
|
|
f--;
|
|
|
|
f++;
|
|
|
|
return f;
|
|
|
|
}
|