1 // RUN: %cc% %ccflags% %ccout% %s.o %s; llvm-objdump --mcpu=%mcpu% -d %s.o | FileCheck --allow-unused-prefixes --check-prefixes %prefixes% %s
3 #include "cmsis_compiler.h"
5 static volatile uint32_t a = 10u;
9 // CHECK: rev {{r[0-9]+}}, {{r[0-9]+}}
10 volatile uint32_t c = __REV(a);
11 // CHECK: {{(bx lr)|(pop {.*pc})}}