clang/test/Driver/avr-link-nostdlib-nodefaultlibs.c
raw| 1 | // RUN: %clang -### --target=avr -save-temps -mmcu=atmega328 -nostdlib %s 2>&1 | FileCheck %s |
| 2 | // RUN: %clang -### --target=avr -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 |