OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/30849
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
error30.C
1
// PR c++/30854
2
// { dg-do compile }
3
4
struct A
5
{
6
A();
7
A(int);
8
};
9
10
A a = -A(); // { dg-error "no match for.*operator-.*in.*-A\\(\\)" }
11
A b = -A(5); // { dg-error "no match for.*operator-.*in.*-A\\(5\\)" }