summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lookup/builtin4.C
blob: b1785dcc7fbef9bbe99b94b6e41410eefdb83d51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright (C) 2007 Free Software Foundation
// Contributed by Ollie Wild <aaw@google.com>
// Origin: Volker Reichelt <reichelt@gcc.gnu.org>
// { dg-do compile }

// PR 31749: ICE with redeclaration of builtin

namespace std
{
  union abort;
}

union abort;

using std::abort; // { dg-error "" }