Leslie Zhai | ff04109 | 2017-04-20 04:23:24 +0000 | [diff] [blame] | 1 | // A test for the propagation of the -mmcu option to -cc1 and -cc1as |
2 | |||||
Benjamin Kramer | b12345c | 2017-04-20 19:06:24 +0000 | [diff] [blame] | 3 | // RUN: %clang -### -target avr -no-canonical-prefixes -mmcu=atmega328p -save-temps %s 2>&1 | FileCheck %s |
Leslie Zhai | ff04109 | 2017-04-20 04:23:24 +0000 | [diff] [blame] | 4 | // CHECK: clang{{.*}} "-cc1" {{.*}} "-target-cpu" "atmega328p" |
5 | // CHECK: clang{{.*}} "-cc1as" {{.*}} "-target-cpu" "atmega328p" |