repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pragma-init-fini-2.c
blob
91bc622a20c550e2b1bb8b24e8925ca9566559ed
1
/* Tests for #pragma init and #pragma fini. */
2
3
/* { dg-do link { target *-*-solaris2.* } } */
4
/* { dg-options "-fpic" } */
5
6
#include <stdio.h>
7
8
#pragma fini (f)
9
10
void
f
() {
11
fprintf
(
stderr
,
"f
\n
"
);
12
}
13
14
int
main
() {
15
}