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
2010-01-26 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
other
/
error30.C
1
// PR c++/35336
2
// { dg-do compile }
3
// { dg-bogus "not supported by" "" { target *-*-* } 0 }
4
5
struct A
6
{
7
int i : 2;
8
};
9
10
void foo (bool b)
11
{
12
A a;
13
(a.i || b) (); // { dg-error "cannot be used as" }
14
}