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
Add __builtion_unreachable to vector::size(), vector::capacity()
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
init2.C
blob
6812292417c03d94da36c8d51a64ab4d045ee1e1
1
// { dg-do run }
2
// { dg-options "-O3" }
3
4
typedef int (*fp)();
5
6
struct S
7
{
8
fp f;
9
};
10
11
static int f()
12
{
13
return 0;
14
}
15
16
static const S s = { &f };
17
18
int main()
19
{
20
return (*s.f)();
21
}