repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Daily bump.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
debug
/
debug9.C
blob
aa328ee6f79abe7ead17bd06fb1a793f91d68aeb
1
/* { dg-do assemble } */
2
/* This testcase requires entries in the debug_range section in DWARF which
3
refer to a vague linkage function. */
4
5
struct s
6
{
7
~s ();
8
};
9
10
bool f1 ();
11
s f2 (s);
12
13
template<int x> void
14
f3(const s & a)
15
{
16
while (f1 () && f1 ())
17
{
18
s c = f2(a);
19
}
20
}
21
22
int main()
23
{
24
f3<0>(s ());
25
return 0;
26
}