You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
249 B
20 lines
249 B
4 months ago
|
// RUN: %clang_cc1 -triple i386-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm %s -o %t
|
||
|
|
||
|
@interface Foo
|
||
|
{
|
||
|
double d1,d3,d4;
|
||
|
}
|
||
|
@end
|
||
|
|
||
|
Foo* foo()
|
||
|
{
|
||
|
Foo *f;
|
||
|
|
||
|
// Both of these crash clang nicely
|
||
|
++f;
|
||
|
--f;
|
||
|
f--;
|
||
|
f++;
|
||
|
return f;
|
||
|
}
|