mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-19 19:45:40 -04:00
6 lines
305 B
C
6 lines
305 B
C
// A test for the propagation of the -mmcu option to -cc1 and -cc1as
|
|
|
|
// RUN: %clang -### -target avr -no-canonical-prefixes -mmcu=atmega328p -save-temps %s 2>&1 | FileCheck %s
|
|
// CHECK: clang{{.*}} "-cc1" {{.*}} "-target-cpu" "atmega328p"
|
|
// CHECK: clang{{.*}} "-cc1as" {{.*}} "-target-cpu" "atmega328p"
|