Diagnose uses of function specifiers on declarations which don't declare
functions.  Fixes PR3941.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68541 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/alias.c b/test/CodeGen/alias.c
index c1a3baa..b0c71fb 100644
--- a/test/CodeGen/alias.c
+++ b/test/CodeGen/alias.c
@@ -20,7 +20,7 @@
 
 
 // RUN: grep '@bar1 = internal global i32 42' %t
-static inline int bar1 = 42;
+static int bar1 = 42;
 int bar() __attribute__((alias("bar1")));