diff options
Diffstat (limited to 'test/CodeGen/address-space-cast.c')
-rw-r--r-- | test/CodeGen/address-space-cast.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CodeGen/address-space-cast.c b/test/CodeGen/address-space-cast.c new file mode 100644 index 0000000..2fba5ec --- /dev/null +++ b/test/CodeGen/address-space-cast.c @@ -0,0 +1,4 @@ +// RUN: clang-cc -emit-llvm < %s + +volatile unsigned char* const __attribute__((address_space(1))) serial_ctrl = 0x02; + |