return__builtin_preserve_access_index(&arg[1]);// expected-warning {{returning 'const int *' from a function with result type 'void *' discards qualifiers}}
}
constvoid*invalid4(volatileconstint*arg){
return__builtin_preserve_access_index(arg);// expected-warning {{returning 'const volatile int *' from a function with result type 'const void *' discards qualifiers}}