projects
/
gcc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix PR/7621
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
class-member-1.C
1
// Copyright (C) 2002 Free Software Foundation
2
// Origin: PR/7621, Vaclav.Haisman@logout.sh.cvut.cz
3
// Contributed by Gabriel Dos Reis <gdr@integrable-solutions.net>
4
5
struct A { };
6
7
int main()
8
{
9
A a;
10
a.i = 9; // { dg-error "no member" "" }
11
}