1 // RUN: %clang -target i686-pc-win32 -loldnames -lkernel32.lib -luser32.lib -### %s 2>&1 | FileCheck %s
2 // CHECK-NOT: "-loldnames.lib"
3 // CHECK-NOT: "-lkernel32.lib"
4 // CHECK-NOT: "-luser32.lib"
5 // CHECK: "oldnames.lib"
6 // CHECK: "kernel32.lib"
7 // CHECK: "user32.lib"
8