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
Wattributes-10.c: Add -fno-common option on hppa*-*-hpux*.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.robertl
/
ebnull.C
blob
fda61cc1a5856faaa8e7afa727fff4357b3362e5
1
// { dg-do run }
2
class null {
3
null (null const&);
4
void operator& ();
5
6
public:
7
null () {}
8
9
template <typename T>
10
operator T* () const { return 0; }
11
} const null;
12
13
int main ()
14
{
15
int *p = null;
16
17
return 0;
18
}