aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/attr-assume-aligned.C
blob: aa57cbb39c76e319b65d98499e7f9cd1aa92529d (plain)
1
2
3
4
5
// PR c++/99062
// { dg-do compile }

#define INT_MIN (-__INT_MAX__ - 1)
void *f () __attribute__ ((assume_aligned (INT_MIN, 4))); // { dg-warning "is not positive" }