llvm-for-llvmta/tools/clang/test/Driver/avr-link-nostdlib-nodefault...

9 lines
340 B
C
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang -### -target avr -no-canonical-prefixes -save-temps -mmcu=atmega328 -nostdlib %s 2>&1 | FileCheck %s
// RUN: %clang -### -target avr -no-canonical-prefixes -save-temps -mmcu=atmega328 -nodefaultlibs %s 2>&1 | FileCheck %s
// nostdlib and nodefaultlibs programs should compile fine.
// CHECK: main
int main() { return 0; }