Add experimental support for address space qualified types. Address space
qualifiers use the __attribute__((address_space(id))) syntax.

llvm-svn: 46691
diff --git a/clang/test/CodeGen/address-space.c b/clang/test/CodeGen/address-space.c
new file mode 100644
index 0000000..304c136
--- /dev/null
+++ b/clang/test/CodeGen/address-space.c
@@ -0,0 +1,7 @@
+// RUN: clang -emit-llvm < %s 2>&1 | grep 'addrspace(1)' | count 5
+int foo __attribute__((address_space(1)));
+int ban[10] __attribute__((address_space(1)));
+
+int bar() { return foo; }
+
+int baz(int i) { return ban[i]; }
\ No newline at end of file