brintos

brintos / llvm-project-archived public Read only

0
0
Text · 523 B · d7a9b8c Raw
15 lines · c
1// Test for the Triple constructor ambiguity fix on AIX2// This test verifies that the default target triple is correctly resolved3// and doesn't fall back to "unknown" due to constructor ambiguity.4 5// REQUIRES: system-aix, target={{.*}}-aix{{.*}}6// RUN: %clang -v %s -c 2>&1 | FileCheck %s --check-prefix=CHECK-TARGET7 8// Test that the target triple contains AIX and is not "unknown"9// The target should be something like "powerpc-ibm-aix7.3.0.0"10// CHECK-TARGET: Target: {{.*}}-aix{{.*}}11 12int main() {13    return 0;14}15