diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/lookup/builtin3.C')
-rw-r--r-- | gcc/testsuite/g++.dg/lookup/builtin3.C | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/lookup/builtin3.C b/gcc/testsuite/g++.dg/lookup/builtin3.C new file mode 100644 index 000000000..3a29d8783 --- /dev/null +++ b/gcc/testsuite/g++.dg/lookup/builtin3.C @@ -0,0 +1,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; +} + +void abort(); + +using std::abort; |