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
* class.c (resolve_address_of_overloaded_function): Don't
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
pod1.C
1
// { dg-do assemble }
2
3
// Copyright (C) 2001 Free Software Foundation, Inc.
4
// Contributed by Nathan Sidwell 28 Feb 2001 <nathan@codesourcery.com>
5
6
// DR 148. Now allows pointer to members in POD struct.
7
8
struct X
9
{
10
int X::*m;
11
int (X::*f) ();
12
};
13
14
void Foo (int, ...);
15
16
void Baz ()
17
{
18
X x;
19
20
Foo (1, x);
21
}