repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Clean up some minor white space issues in trans-decl.c and trans-expr.c
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
error30.C
blob
aabdcc701c53fd1f9aee531502f34763c3176c3f
1
// PR c++/30854
2
// { dg-do compile }
3
// { dg-options "-fshow-column -ansi -pedantic-errors -Wno-long-long" }
4
5
struct A
6
{
7
A();
8
A(int);
9
};
10
11
A a = -A(); // { dg-error "operand type is 'A'" }
12
A b = -A(5); // { dg-error "operand type is 'A'" }