
This gets rid of some extra IO from driver startup, and possiblity of emitting warnings twice.
6 lines
241 B
C++
6 lines
241 B
C++
// RUN: rm -rf %t
|
|
// RUN: mkdir -p %t
|
|
// RUN: echo '[unknown-warning]' > %t/foo.txt
|
|
// RUN: %clang -fdriver-only --warning-suppression-mappings=%t/foo.txt %s | FileCheck -allow-empty %s
|
|
// CHECK-NOT: unknown warning option 'unknown-warning'
|