Non-binary output files from the compiler need the `OF_Text` flag set for encoding conversion to be performed correctly on z/OS. --------- Co-authored-by: Tony Tao <tonytao@ca.ibm.com>
10 lines
265 B
C
10 lines
265 B
C
// Checks encoding of output file
|
|
// This is only required for z/OS.
|
|
//
|
|
// REQUIRES: system-zos, systemz-registered-target
|
|
// RUN: %clang_cc1 -triple s390x-ibm-zos -S %s -o %t.s
|
|
// RUN: ls -T %t.s | FileCheck %s
|
|
|
|
// CHECK: t IBM-1047 T=on
|
|
void foo() { return; }
|