mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
0877622c14
When we have "Image Info Version" module flag but don't have "Class Properties" module flag, set "Class Properties" module flag to 0, so we can correctly emit errors when one module has the flag set and another module does not. rdar://26469641 llvm-svn: 270791
10 lines
292 B
LLVM
10 lines
292 B
LLVM
; RUN: llvm-as < %s | llvm-dis | FileCheck %s
|
|
; RUN: verify-uselistorder < %s
|
|
|
|
!llvm.module.flags = !{!0}
|
|
|
|
!0 = !{i32 1, !"Objective-C Image Info Version", i32 0}
|
|
|
|
; CHECK: !0 = !{i32 1, !"Objective-C Image Info Version", i32 0}
|
|
; CHECK: !1 = !{i32 1, !"Objective-C Class Properties", i32 0}
|