summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/p7180.C
blob: 55b7e10068e2f678546eec23060f18dc0974d74d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// { dg-do run  }
// prms-id: 7180

class String {
public:
   String(const char*);
   ~String();
};
 
String::String(const char* str = "") {
}
 
String::~String(void) {
}
 
int main() {
   const String array[] = {"3"};
}