aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/initlist25.C
blob: dd41db1f641e127680a5ddbe777fc22c0f8fc7fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// PR c++/41754
// { dg-do run { target c++11 } }

#include <map>
#include <string>
#include <iostream>

using namespace std;

int main()
{
        map<string, string> m;
        m.insert({{"t", "t"}, {"y", "y"}});

        return 0;
}