summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/initlist24.C
blob: 33e97c7dfb4f60405c0c19131eb6c89a72ab5d95 (plain)
1
2
3
4
5
6
7
8
9
// PR c++/39923
// { dg-options "-std=c++0x" }

#include <initializer_list>

void test3()
{
  std::initializer_list<int> list{move}; // { dg-error "not declared|could not convert" }
}