Compiler projects using llvm
REQUIRES: libxml2
UNSUPPORTED: system-windows

RUN: llvm-mt /manifest %p/Inputs/test_manifest.manifest /manifest \
RUN:   %p/Inputs/additional.manifest /out:%t
RUN: FileCheck %s -input-file=%t

CHECK:      <?xml version="1.0" encoding="UTF-8"?>
CHECK-NEXT: <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
CHECK-NEXT:   <trustInfo>
CHECK-NEXT:     <security>
CHECK-NEXT:       <requestedPrivileges>
CHECK-NEXT:         <requestedExecutionLevel level="3" uiAccess="1" admin="false"/>
CHECK-NEXT:       </requestedPrivileges>
CHECK-NEXT:     </security>
CHECK-NEXT:   </trustInfo>
CHECK-NEXT:   <dependency>
CHECK-NEXT:     <dependentAssembly>
CHECK-NEXT:       <assemblyIdentity program="displayDriver"/>
CHECK-NEXT:     </dependentAssembly>
CHECK-NEXT:   </dependency>
CHECK-NEXT:   <compatibility>
CHECK-NEXT:     <dependency>
CHECK-NEXT:       <assemblyIdentity program="compatibilityCheck1"/>
CHECK-NEXT:     </dependency>
CHECK-NEXT:     <application>
CHECK-NEXT:       <supportedOS Id="FooOS"/>
CHECK-NEXT:       <supportedOS Id="BarOS"/>
CHECK-NEXT:     </application>
CHECK-NEXT:     <dependency>
CHECK-NEXT:       <assemblyIdentity program="compatibilityCheck2"/>
CHECK-NEXT:     </dependency>
CHECK-NEXT:   </compatibility>
CHECK-NEXT:   <dependency>
CHECK-NEXT:     <dependentAssembly>
CHECK-NEXT:       <assemblyIdentity program="logDisplay"/>
CHECK-NEXT:     </dependentAssembly>
CHECK-NEXT:   </dependency>
CHECK-NEXT: </assembly>