commit | bc13ab2bc75bd997a2a40e371f50a4c456d8ee69 | [log] [tgz] |
---|---|---|
author | Anders Carlsson <andersca@mac.com> | Fri Jun 26 03:54:13 2009 +0000 |
committer | Anders Carlsson <andersca@mac.com> | Fri Jun 26 03:54:13 2009 +0000 |
tree | e858f39a6f5201b4f4f2b406225b13baff566121 | |
parent | 5c7f786e3269ee2b512ecf13ccf556c47be83a76 [diff] [blame] |
Fix another assert related to using decls. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74262 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/SemaCXX/using-decl-1.cpp b/test/SemaCXX/using-decl-1.cpp new file mode 100644 index 0000000..2459f25 --- /dev/null +++ b/test/SemaCXX/using-decl-1.cpp
@@ -0,0 +1,8 @@ +// RUN: clang-cc -fsyntax-only -verify %s + +extern "C" { void f(bool); } + +namespace std { + using ::f; + inline void f() { return f(true); } +}