blob: b4f3859f982ab375f13e22181ad33c4935730d86 [file] [log] [blame]
Saleem Abdulrasool436256a2015-10-12 20:21:08 +00001// RUN: %clang -### -fdebug-prefix-map=old %s 2>&1 | FileCheck %s -check-prefix CHECK-INVALID
2// RUN: %clang -### -fdebug-prefix-map=old=new %s 2>&1 | FileCheck %s -check-prefix CHECK-SIMPLE
3// RUN: %clang -### -fdebug-prefix-map=old=n=ew %s 2>&1 | FileCheck %s -check-prefix CHECK-COMPLEX
4// RUN: %clang -### -fdebug-prefix-map=old= %s 2>&1 | FileCheck %s -check-prefix CHECK-EMPTY
5
6// CHECK-INVALID: error: invalid argument 'old' to -fdebug-prefix-map
7// CHECK-SIMPLE: fdebug-prefix-map=old=new
8// CHECK-COMPLEX: fdebug-prefix-map=old=n=ew
9// CHECK-EMPTY: fdebug-prefix-map=old=