summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/warn/main-3.C
blob: eb462f4ba06f3b9ec40d737272399d281c234ba1 (plain)
1
2
3
4
5
6
7
// PR c++/29735
// { dg-do compile }

int __attribute__ ((vector_size (8))) main () // { dg-error "must return" }
{
  return 0;
}