Add tests for fixes I committed earlier to the C++ FE.
llvm-svn: 75924
This commit is contained in:
parent
293324104b
commit
5618d808e0
|
@ -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;
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
// RUN: %llvmgxx %s -S
|
||||
|
||||
namespace A {
|
||||
typedef int B;
|
||||
}
|
||||
struct B {
|
||||
};
|
||||
using ::A::B;
|
Loading…
Reference in New Issue