You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
380 B
11 lines
380 B
4 months ago
|
// RUN: %clang -target i686-pc-linux-gnu -### -nodefaultlibs %s 2>&1 | FileCheck -check-prefix=TEST1 %s
|
||
|
// TEST1-NOT: start-group
|
||
|
// TEST1-NOT: "-lgcc"
|
||
|
// TEST1-NOT: "-lc"
|
||
|
// TEST1: crtbegin
|
||
|
// TEST1: crtend
|
||
|
|
||
|
// RUN: %clang -target i686-pc-linux-gnu -stdlib=libc++ -nodefaultlibs -lstdc++ -### %s 2>&1 | FileCheck -check-prefix=TEST2 %s
|
||
|
// TEST2-NOT: "-lc++"
|
||
|
// TEST2: "-lstdc++"
|