blob: a9509c354f18ff5f1de24b1ef53e5df3957b9700 [file] [log] [blame]
// { dg-do run }
/* { dg-additional-options "--param=modref-max-depth=1" } */
#include <list>
typedef std::list<void *> PtrList;
void
SlList (PtrList *l)
{
PtrList temp = *l;
PtrList::iterator iter;
for (iter = temp.begin (); iter != temp.end (); ++iter)
__builtin_abort ();
}
int
main (void)
{
PtrList list;
SlList (&list);
return 0;
}