Merge from mainline
[official-gcc.git] / gcc / testsuite / g++.dg / debug / debug9.C
blobaa328ee6f79abe7ead17bd06fb1a793f91d68aeb
1 /* { dg-do assemble } */
2 /* This testcase requires entries in the debug_range section in DWARF which
3    refer to a vague linkage function.  */
5 struct s
7   ~s ();
8 };
10 bool f1 ();
11 s f2 (s);
13 template<int x> void
14 f3(const s & a)
16   while (f1 () && f1 ())
17     {
18       s c = f2(a);
19     }
22 int main()
24    f3<0>(s ());
25    return 0;