llvm-project/clang/test/Driver/avr-mmcu.c

6 lines
282 B
C
Raw Normal View History

// A test for the propagation of the -mmcu option to -cc1 and -cc1as
// RUN: %clang -### -target avr -mmcu=atmega328p -save-temps %s 2>&1 | FileCheck %s
// CHECK: clang{{.*}} "-cc1" {{.*}} "-target-cpu" "atmega328p"
// CHECK: clang{{.*}} "-cc1as" {{.*}} "-target-cpu" "atmega328p"