2010-02-23 20:22:13 +08:00
|
|
|
// RUN: %clang_cc1 -fsyntax-only -W -Wall -Werror -verify %s
|
2012-10-19 20:44:48 +08:00
|
|
|
// expected-no-diagnostics
|
2010-02-23 20:22:13 +08:00
|
|
|
|
|
|
|
int f(int i __attribute__((__unused__)))
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
int g(i)
|
|
|
|
int i __attribute__((__unused__));
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|