mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This default formatting style remains the same "LLVM style". "Swift style" is what was previously enabled via -enable-experimental-diagnostic-formatting
10 lines
375 B
Swift
10 lines
375 B
Swift
// RUN: not %target-swiftc_driver -color-diagnostics -diagnostic-style=llvm -emit-executable -o %t %s 2>&1 \
|
|
// RUN: | %FileCheck -check-prefix=CHECK-CD %s
|
|
// CHECK-CD: [0m1 = 2{{$}}
|
|
|
|
// RUN: not %target-swiftc_driver -no-color-diagnostics -emit-executable -o %t %s 2>&1 \
|
|
// RUN: | %FileCheck -check-prefix=CHECK-NCD --match-full-lines %s
|
|
// CHECK-NCD: 1 = 2
|
|
|
|
1 = 2
|