Fix line endings.

llvm-svn: 157287
This commit is contained in:
John McCall 2012-05-22 21:28:07 +00:00
parent 6c26f0b2a7
commit fa6cf4cc9a
1 changed files with 18 additions and 23 deletions

View File

@ -297,28 +297,23 @@ int main () {
missing_template_keyword<int>();
}
namespace access_protected_PTM {
class A {
protected:
class A {
protected:
void f(); // expected-note {{must name member using the type of the current context 'access_protected_PTM::B'}}
};
};
class B : public A{
public:
class B : public A{
public:
void test_access();
static void test_access_static();
};
};
void B::test_access() {
void B::test_access() {
&A::f; // expected-error {{'f' is a protected member of 'access_protected_PTM::A'}}
}
}
void B::test_access_static() {
void B::test_access_static() {
&A::f;
}
}
}