summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lookup/builtin1.C
blob: 5f25f28896511a7ad2046bb694c371c085ef13a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// PR c++/19367
// { dg-do link } 

void abort (void) { throw 3; }

namespace std { using ::abort; }

int main ()
{
  using std::abort;
  abort();
}