gcc/testsuite/g++.dg/lookup/builtin3.C
raw| 1 | // Copyright (C) 2007 Free Software Foundation |
| 2 | // Contributed by Ollie Wild <[email protected]> |
| 3 | // Origin: Volker Reichelt <[email protected]> |
| 4 | // { dg-do compile } |
| 5 | |
| 6 | // PR 31749: ICE with redeclaration of builtin |
| 7 | |
| 8 | namespace std |
| 9 | { |
| 10 | union abort; |
| 11 | } |
| 12 | |
| 13 | void abort(); |
| 14 | |
| 15 | using std::abort; |