blob: 76570c516f1013c6f1ed5992cd70f1c43d2a73ff [file] [log] [blame]
Reid Klecknerfceb76f2014-05-16 20:39:27 +00001; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
2
3@llvm.global_ctors = appending global [1 x { i32, void()*, i8 } ] [
4 { i32, void()*, i8 } { i32 65535, void ()* null, i8 0 }
5]
6; CHECK: wrong type for intrinsic global variable
7
8@llvm.global_dtors = appending global [1 x { i32, void()*, i8*, i8 } ] [
9 { i32, void()*, i8*, i8 } { i32 65535, void ()* null, i8* null, i8 0}
10]
11; CHECK: wrong type for intrinsic global variable