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
f3(const s & a)14 f3(const s & a)
15 {
16   while (f1 () && f1 ())
17     {
18       s c = f2(a);
19     }
20 }
21 
main()22 int main()
23 {
24    f3<0>(s ());
25    return 0;
26 }
27