Daniel Dunbar | 8fbe78f | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -emit-llvm < %s | grep 'extern_weak' | count 1 |
Eli Friedman | 895771a | 2009-05-26 01:22:57 +0000 | [diff] [blame] | 2 | |
3 | struct S; | ||||
4 | void __attribute__((weak)) foo1(struct S); | ||||
5 | void (*foo2)(struct S) = foo1; |