aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/obj-c++.dg/warn7.mm
blob: 6e84069eec520f6fefb86d27c6e48dd7ebf61738 (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/50757
// { dg-options "-Wformat -Wno-nonnull" }

extern void *f (void *__s) __attribute__ ((__nonnull__ (1)));

int main()
{
  void* const s = 0;
  f(s);
}