cgraph: A COMDAT decl always has non-zero address.
[gcc.git] / gcc / testsuite / c-c++-common / pr83059.c
1 /* PR c++/83059 */
2 /* { dg-do compile } */
3
4 void
5 foo (int *p, int *q, int *r)
6 {
7 __atomic_compare_exchange (p, q, r, 0, 0, -1); /* { dg-warning "invalid memory model argument 6" } */
8 /* { dg-warning "unknown architecture specifi" "" { target *-*-* } .-1 } */
9 /* { dg-warning "failure memory model cannot be stronger than success memory model" "" { target *-*-* } .-2 } */
10 }