summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/block-with-perdefinedexpr.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/block-with-perdefinedexpr.c')
-rw-r--r--test/CodeGen/block-with-perdefinedexpr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CodeGen/block-with-perdefinedexpr.c b/test/CodeGen/block-with-perdefinedexpr.c
index 68fdea6..94d67c3 100644
--- a/test/CodeGen/block-with-perdefinedexpr.c
+++ b/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