blob: 53269d53ee5506d108259f31b45b2b2ea0d55c84 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
; Verify that the module triple is overridden by the driver - even when the
; module triple is missing.
; NOTE: At the time of writing, the tested behaviour was consistent with Clang
; RUN: %flang_fc1 -S %s -o - 2>&1 | FileCheck %s
; RUN: %flang -S %s -o - 2>&1 | FileCheck %s
; CHECK: warning: overriding the module target triple with {{.*}}
define void @foo() {
ret void
}
|