| commit | 5f212cbb73a7cd818f2b31c78f80c1e4ac5adae3 | [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 | 5d9ae2d3f68d3859e08be10d907d2ef5fe5eab0a | |
| parent | e2355f70fa119f0a4d49d0284d362638630d3d17 [diff] [blame] |
Fix another assert related to using decls. llvm-svn: 74262
diff --git a/clang/test/SemaCXX/using-decl-1.cpp b/clang/test/SemaCXX/using-decl-1.cpp new file mode 100644 index 0000000..2459f25 --- /dev/null +++ b/clang/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); } +}