diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2009-04-07 19:37:57 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2009-04-07 19:37:57 +0000 |
commit | 85a5319ea4b5c916d7dd665e84af61e4a8a0b9c2 (patch) | |
tree | f8d79d5ab45d4ad1c2d465b4d35314954fb586b4 /test/CodeGen/alias.c | |
parent | 5c1aaafbd6dd25a99ca1960e1c3c98aeefe9d728 (diff) | |
download | clang-85a5319ea4b5c916d7dd665e84af61e4a8a0b9c2.tar.gz |
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
Diffstat (limited to 'test/CodeGen/alias.c')
-rw-r--r-- | test/CodeGen/alias.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/alias.c b/test/CodeGen/alias.c index c1a3baa929..b0c71fbdfc 100644 --- a/test/CodeGen/alias.c +++ b/test/CodeGen/alias.c @@ -20,7 +20,7 @@ int foo() __attribute__((alias("foo1"))); // RUN: grep '@bar1 = internal global i32 42' %t -static inline int bar1 = 42; +static int bar1 = 42; int bar() __attribute__((alias("bar1"))); |