mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-24 20:29:39 +08:00
[libcxx] [test] Remove a Clang/C2 workaround.
Clang/LLVM doesn't need this workaround. Fixes D33955. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@304999 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -48,7 +48,6 @@ int main()
|
|||||||
assert(X::dtor_called == false);
|
assert(X::dtor_called == false);
|
||||||
assert(static_cast<bool>(opt) == false);
|
assert(static_cast<bool>(opt) == false);
|
||||||
}
|
}
|
||||||
assert(X::dtor_called == false); // TRANSITION, Clang/C2 VSO#239997
|
|
||||||
{
|
{
|
||||||
optional<X> opt(X{});
|
optional<X> opt(X{});
|
||||||
X::dtor_called = false;
|
X::dtor_called = false;
|
||||||
@@ -57,5 +56,4 @@ int main()
|
|||||||
assert(static_cast<bool>(opt) == false);
|
assert(static_cast<bool>(opt) == false);
|
||||||
X::dtor_called = false;
|
X::dtor_called = false;
|
||||||
}
|
}
|
||||||
assert(X::dtor_called == false); // TRANSITION, Clang/C2 VSO#239997
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user