Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.other/inline7.C

raw
1 // { dg-do run }
2 // { dg-options "-O2" }
3 // { dg-skip-if "requires hosted libstdc++ for list" { ! hostedlib } }
4 // Origin: Mark Mitchell <[email protected]>
5
6 #include <list>
7
8 std::list<int*> li;
9
10 void f ()
11 {
12 (void) li.size ();
13 }
14
15 int main ()
16 {
17 li.push_back (0);
18 f ();
19 }