forked from OSchip/llvm-project
Test that mutability of class members that involve class definitions actually works
llvm-svn: 103959
This commit is contained in:
parent
3b05bdba5a
commit
c4c574bd2e
|
@ -139,6 +139,11 @@ namespace pr6629 {
|
|||
|
||||
namespace PR7153 {
|
||||
class EnclosingClass {
|
||||
public:
|
||||
struct A { } mutable *member;
|
||||
};
|
||||
|
||||
void f(const EnclosingClass &ec) {
|
||||
ec.member = 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue