Home
last modified time | relevance | path

Searched refs:constant_ptr_t (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/clang/test/SemaCXX/
Damdgpu-sizeof-alignof.cpp8 typedef __attribute__((address_space(2))) void *constant_ptr_t; typedef
41 static_assert(sizeof(constant_ptr_t) == 8, "bad size"); in test()
42 static_assert(alignof(constant_ptr_t) == 8, "bad alignment"); in test()
/external/llvm-project/clang/test/CodeGenOpenCL/
Damdgpu-sizeof-alignof.cl26 typedef constant void *constant_ptr_t;
66 check(sizeof(constant_ptr_t) == PTSIZE);
67 check(__alignof__(constant_ptr_t) == PTSIZE);