summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/cast2.C
blob: d447bb4baecbf0bdd0342a311ce15e2530702d34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// PR c++/13736

struct string
{
  string() {}
  string(const string&) {}
  string(const char*) {}
};

int main()
{
  string s2(string( (const char*)("")));
}