Unbreak C++03 build.

llvm-svn: 278323
This commit is contained in:
Eric Fiselier 2016-08-11 08:15:35 +00:00
parent ceabe80e97
commit f5feedfa8b
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,6 @@
#include "test_macros.h"
#include "archetypes.hpp"
using namespace ImplicitTypes; // Get implicitly archetypes
int main()
{
@ -46,6 +45,7 @@ int main()
static_assert(p.second == nullptr, "");
}
{
using NoDefault = ImplicitTypes::NoDefault;
using P = std::pair<int, NoDefault>;
static_assert(!std::is_default_constructible<P>::value, "");
using P2 = std::pair<NoDefault, int>;