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
Dead
[official-gcc.git]
/
gomp-20050608-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
overload3.C
blob
cf5ceeba198881efe36798a59a59095f28ed095b
1
// { dg-do link }
2
3
void f(const int *);
4
void f(int *) {}
5
6
void f2(const volatile int *);
7
void f2(volatile int *) {}
8
9
int i;
10
11
int main()
12
{
13
f(&i);
14
f2(&i);
15
}
16