1f08c3bdfSopenharmony_ci#define cvr const volatile restrict 2f08c3bdfSopenharmony_ci 3f08c3bdfSopenharmony_ci_Static_assert([typeof((cvr int) 0)] == [int]); 4f08c3bdfSopenharmony_ci_Static_assert([typeof((cvr int *) 0)] == [cvr int *]); 5f08c3bdfSopenharmony_ci 6f08c3bdfSopenharmony_cistatic int *function(volatile int x) 7f08c3bdfSopenharmony_ci{ 8f08c3bdfSopenharmony_ci extern typeof((typeof(x)) (x)) y; 9f08c3bdfSopenharmony_ci return &y; 10f08c3bdfSopenharmony_ci} 11f08c3bdfSopenharmony_ci 12f08c3bdfSopenharmony_ci/* 13f08c3bdfSopenharmony_ci * check-name: unqual-cast 14f08c3bdfSopenharmony_ci */ 15