https://github.com/epiqc/ScaffCC
Tip revision: be5bfe685a7b7268af2ae0344c2ffe444e77f296 authored by ah744 on 20 August 2016, 18:31:59 UTC
Small script changes
Small script changes
Tip revision: be5bfe6
constructor-attr.cpp
// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
// CHECK: @llvm.global_ctors
// PR6521
void bar();
struct Foo {
// CHECK: define linkonce_odr void @_ZN3Foo3fooEv
static void foo() __attribute__((constructor)) {
bar();
}
};