forked from OSchip/llvm-project
[libc++] Fix spurious test failure in -fno-exceptions
This commit is contained in:
parent
751f5c8146
commit
23291e8ec7
|
@ -33,7 +33,10 @@ public:
|
|||
|
||||
int main() {
|
||||
// expected-error@memory:* 2 {{"The specified type does not meet the requirements of Cpp17MoveInsertable"}}
|
||||
|
||||
// Other diagnostics that might be seen as Clang tries to continue compiling:
|
||||
// expected-error@memory:* 0-2 {{call to deleted constructor}}
|
||||
// expected-error@memory:* 0-2 {{no matching function for call to 'construct_at'}}
|
||||
{
|
||||
|
||||
std::vector<BadUserNoCookie<1> > x;
|
||||
|
|
Loading…
Reference in New Issue