implementation-in-extern-c.mm 265 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 // RUN: %clang_cc1 -emit-llvm %s -o /dev/null // rdar://12581683 extern "C" { @interface RetainBucket + (id) sharedRetainBucket; @end @implementation RetainBucket + (id) sharedRetainBucket { static id sharedBucket = (id)0; return sharedBucket; } @end }