• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #define cvr const volatile restrict
2 
3 _Static_assert([typeof((cvr int) 0)] == [int]);
4 _Static_assert([typeof((cvr int *) 0)] == [cvr int *]);
5 
function(volatile int x)6 static int *function(volatile int x)
7 {
8 	extern typeof((typeof(x)) (x)) y;
9 	return &y;
10 }
11 
12 /*
13  * check-name: unqual-cast
14  */
15