1 // RUN: %clang_cc1 -triple x86_64-linux-gnu -Wunneeded-internal-declaration -x c -verify %s 2 // expected-no-diagnostics f()3static int f() { return 42; } 4 int g() __attribute__((alias("f"))); 5 6 static int foo [] = { 42, 0xDEAD }; 7 extern typeof(foo) bar __attribute__((unused, alias("foo"))); 8