OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [warn/] [format3.C] - Blame information for rev 844

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// PR c++/13070
2
// { dg-do compile }
3
// { dg-options "-Wformat" }
4
 
5
extern "C" int printf (const char*, ...);
6
 
7
int main()
8
{
9
  printf("%d\n", 1, 1);  // { dg-warning "too many" "printf warning" }
10
  return 0;
11
}
12
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.