summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/warn/pr31246.C
blob: a96dc96c19713b696520d4df229c5d1cd5d5c291 (plain)
1
2
3
4
5
6
7
8
9
10
// PR 31246
// { dg-do compile }
// { dg-options "-Wunreachable-code -D_GLIBCXX_DEBUG" }
// { dg-xfail-if "lack of weak symbols" { alpha*-dec-osf* } }
#include <vector>

int main()
{
  std::vector<int>::iterator a;
}