repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
pass machinemoduleinfo down into getSymbolForDwarfGlobalReference,
[llvm/avr.git]
/
test
/
FrontendObjC
/
2007-10-17-SJLJExceptions.m
blob
970207e0d8a413ee16f5c64337e8163989af8e5c
1
// RUN: %llvmgcc -m32 -x objective-c %s -pipe -std=gnu99 -O2 -fexceptions -S -o - | not grep Unwind_Resume
2
#import <stdio.h>
3
4
@interface Foo {
5
char c;
6
short s;
7
int i;
8
long l;
9
float f;
10
double d;
11
}
12
-(Foo*)retain;
13
@end
14
15
struct Foo *bork(Foo *FooArray) {
16
struct Foo *result = 0;
17
@try {
18
result = [FooArray retain];
19
} @catch(id any) {
20
printf("hello world\n");
21
}
22
23
return result;
24
}