Dylan McKay | 83338b1 | 2019-05-19 09:54:14 +0000 | [diff] [blame] | 1 | // RUN: %clang -### -target avr -no-canonical-prefixes -save-temps -mmcu=atmega328 -nostdlib %s 2>&1 | FileCheck %s |
2 | // RUN: %clang -### -target avr -no-canonical-prefixes -save-temps -mmcu=atmega328 -nodefaultlibs %s 2>&1 | FileCheck %s | ||||
3 | |||||
4 | // nostdlib and nodefaultlibs programs should compile fine. | ||||
5 | |||||
6 | // CHECK: main | ||||
7 | int main() { return 0; } | ||||
8 |