Home | History | Annotate | Download | only in VFS
      1 // RUN: not %clang_cc1 -ivfsoverlay %S/Inputs/invalid-yaml.yaml -fsyntax-only %s 2>&1 | FileCheck %s
      2 // CHECK: invalid virtual filesystem overlay file
      3 
      4 // RUN: not %clang_cc1 -ivfsoverlay %S/Inputs/missing-key.yaml -fsyntax-only %s 2>&1 | FileCheck -check-prefix=CHECK-MISSING-TYPE %s
      5 // CHECK-MISSING-TYPE: missing key 'type'
      6 // CHECK-MISSING-TYPE: invalid virtual filesystem overlay file
      7 
      8 // RUN: not %clang_cc1 -ivfsoverlay %S/Inputs/unknown-key.yaml -fsyntax-only %s 2>&1 | FileCheck -check-prefix=CHECK-UNKNOWN-KEY %s
      9 // CHECK-UNKNOWN-KEY: unknown key
     10 // CHECK-UNKNOWN-KEY: invalid virtual filesystem overlay file
     11 
     12 // RUN: not %clang_cc1 -ivfsoverlay %S/Inputs/unknown-value.yaml -fsyntax-only %s 2>&1 | FileCheck -check-prefix=CHECK-UNKNOWN-VALUE %s
     13 // CHECK-UNKNOWN-VALUE: expected boolean value
     14 // CHECK-UNKNOWN-VALUE: invalid virtual filesystem overlay file
     15