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
538 B
11 lines
538 B
// RUN: %clang -### -target avr -no-canonical-prefixes -save-temps %s 2>&1 | FileCheck --check-prefix=WARN %s
|
|
// RUN: %clang -### -target avr -no-canonical-prefixes -save-temps -mmcu=atmega328 %s 2>&1 | FileCheck --check-prefix=NOWARN %s
|
|
|
|
// WARN: warning: no target microcontroller specified on command line, cannot link standard libraries, please pass -mmcu=<mcu name>
|
|
// WARN: warning: standard library not linked and so no interrupt vector table or compiler runtime routines will be linked
|
|
|
|
// NOWARN: main
|
|
|
|
int main() { return 0; }
|
|
|