aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/20_util/bitset/115098.cc
blob: 52d6a0ec378112df64948c03e2b1606e2ddce800 (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-do compile { target c++11 } }

#include <bitset>

using namespace std;

static_assert( ! is_default_constructible<bitset<10>::reference>::value,
    "std::bitset<N>::reference is not default constructible");

static_assert( ! is_constructible<bitset<10>::reference, bitset<10>&, size_t>::value,
    "std::bitset<N>::reference is not default constructible");