etc/services - sync with NetBSD-8
[minix.git] / external / bsd / llvm / dist / clang / test / CodeGenOpenCL / str_literals.cl
blob092b6372a414dc6e325f1944f8f0f6bd2b11d03e
1 // RUN: %clang_cc1 %s -emit-llvm -o - -ffake-address-space-map | FileCheck %s
3 __constant char * __constant x = "hello world";
4 __constant char * __constant y = "hello world";
6 // CHECK: unnamed_addr addrspace(3) constant
7 // CHECK-NOT: addrspace(3) unnamed_addr constant
8 // CHECK: @x = addrspace(3) constant i8 addrspace(3)*
9 // CHECK: @y = addrspace(3) constant i8 addrspace(3)*