ADT
arm-eh
ast-experimental
cleanup-dtors
enum
forall-pointer-decay
jacob/cs343-translation
jenkins-sandbox
new-ast
new-ast-unique-expr
pthread-emulation
qualifiedEnum
Last change
on this file since 13363f4 was db2d937, checked in by Thierry Delisle <tdelisle@…>, 7 years ago |
Working tests for exceptions with and without -fPIC
|
-
Property mode
set to
100644
|
File size:
144 bytes
|
Line | |
---|
1 | void clean(__attribute__((unused)) int * p) {}
|
---|
2 |
|
---|
3 | extern int bar(int);
|
---|
4 | int foo(int x) {
|
---|
5 | int i __attribute__((cleanup(clean)));
|
---|
6 | return bar(x);
|
---|
7 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.