Add tests for fixes I committed earlier to the C++ FE.

llvm-svn: 75924
This commit is contained in:
Rafael Espindola 2009-07-16 13:35:42 +00:00
parent 293324104b
commit 5618d808e0
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,14 @@
// RUN: %llvmgxx %s -S
#include <set>
class A {
public:
A();
private:
A(const A&);
};
void B()
{
std::set<void *, A> foo;
}

View File

@ -0,0 +1,8 @@
// RUN: %llvmgxx %s -S
namespace A {
typedef int B;
}
struct B {
};
using ::A::B;