2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr61077.c
blobd98bf65e7d245770a4d80eeb183b5ca157da0ecf
1 /* PR c/61077 */
2 /* { dg-do compile } */
3 /* { dg-options "-std=c11 -Wall" } */
5 _Atomic int
6 main (_Atomic int argc, _Atomic char **argv)
7 /* { dg-warning "qualified return type" "return" { target *-*-* } .-1 } */
8 /* { dg-warning "qualified parameter type\[^\n\]*int" "parameter" { target *-*-* } .-2 } */
9 /* { dg-warning "qualified parameter type\[^\n\]*char" "parameter" { target *-*-* } .-3 } */
11 return 0;