blob: 53269d53ee5506d108259f31b45b2b2ea0d55c84 [file] [log] [blame]
; 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
}