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
Fix broken MinGW build of gcc.c
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wrestrict-1.C
blob
fe844f18c43f792056ea476df5f03de234f9d211
1
// PR c++/79588
2
// { dg-do compile }
3
// { dg-options "-Wrestrict" }
4
5
void foo (char *__restrict, char *__restrict = __null);
6
7
void
8
bar (char *p)
9
{
10
foo (p, p); // { dg-warning "to restrict-qualified parameter aliases with" }
11
foo (p);
12
}