]> matita.cs.unibo.it Git - pkg-cerco/acc.git/blob - tests/GCCTestSuite/warn-1.c
Imported Upstream version 0.2
[pkg-cerco/acc.git] / tests / GCCTestSuite / warn-1.c
1 /* The compiler used to say passing arg 0 of, which is wrong.  */
2 /* Radar 3069179 */
3
4 /* { dg-options "-O3" } */
5
6 static void foo (p)
7      int p;
8 {
9 }
10
11 void bar (void)
12 {
13   void *vp;
14
15   foo (vp);     /* { dg-warning "passing argument 1 of" } */
16 }