summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/block-with-perdefinedexpr.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGen/block-with-perdefinedexpr.c')
-rw-r--r--clang/test/CodeGen/block-with-perdefinedexpr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/CodeGen/block-with-perdefinedexpr.c b/clang/test/CodeGen/block-with-perdefinedexpr.c
index 68fdea60f37..94d67c3b93b 100644
--- a/clang/test/CodeGen/block-with-perdefinedexpr.c
+++ b/clang/test/CodeGen/block-with-perdefinedexpr.c
@@ -5,6 +5,7 @@ void syslog(const char *, ...);
void handler( );
+__attribute__((used))
static void (^spd)() = ^()
{
handler( ^(){ syslog("%s", __FUNCTION__); } );
OpenPOWER on IntegriCloud