Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/test/SemaCXX/
H A 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()
/llvm-project-15.0.7/clang/test/CodeGenOpenCL/
H A Damdgpu-sizeof-alignof.cl38 typedef constant void *constant_ptr_t;
81 check(sizeof(constant_ptr_t) == PTSIZE);
82 check(__alignof__(constant_ptr_t) == PTSIZE);