aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/attr-aligned-2.c
blob: 991b3904540b2f87214d6584b6e657b79e5747f8 (plain)
1
2
3
4
5
6
7
8
/* PR c/115549 */
/* { dg-do compile } */

__attribute__((aligned,optimize(s))) /* { dg-error "not declared|undeclared" } */
int s()
{
  return 0;
}