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
svn merge -r102224:107263 svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-3_4-branch
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
class-member-1.C
blob
37d40b4cc3127b69ad9568781d88f659216a391f
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
}