repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
analyzer
/
named-functions.C
blob
661a9307b81e72d6f964ab05243cd27f7383631c
1
#define NULL ((void *)0)
2
3
namespace my
4
{
5
int socket (int, int, int);
6
};
7
8
void test_my_socket ()
9
{
10
/* This shouldn't match the known function "::socket". */
11
my::socket (0, 0, 0); /* { dg-bogus "leak" } */
12
}