tree: Don't reuse types if TYPE_USER_ALIGN differ [PR94775]
[official-gcc.git] / gcc / testsuite / g++.dg / warn / Wrestrict-1.C
blob441ff3482bcc7d2ac14fbd71f89b5dbe10309567
1 // PR c++/79588
2 // { dg-do compile }
3 // { dg-options "-Wrestrict" }
5 void foo (char *__restrict, char *__restrict = __null);
7 void
8 bar (char *p)
10   foo (p, p);   // { dg-warning "to 'restrict'-qualified parameter aliases with" }
11   foo (p);