Files
clang-p2996/clang/test/Driver/nodefaultlib.c
Matt Beaumont-Gay cab0f3131e Insulate this test from the whims of the random number generator.
Our internal buildbot just failed because the tempfile happened to be named
'nodefaultlib-lcGA7k.o', which contains the substring '-lc'.

llvm-svn: 170941
2012-12-21 22:43:20 +00:00

9 lines
203 B
C

// RUN: %clang -target i686-pc-linux-gnu -### -nodefaultlibs %s 2> %t
// RUN: FileCheck < %t %s
//
// CHECK-NOT: start-group
// CHECK-NOT: "-lgcc"
// CHECK-NOT: "-lc"
// CHECK: crtbegin
// CHECK: crtend