type-checking pointer subtraction; if the canonical types aren't used, the qualifiers won't always get stripped off correctly. llvm-svn: 55620
7 lines
119 B
C
7 lines
119 B
C
// RUN: clang %s -fsyntax-only -verify -pedantic
|
|
|
|
typedef const char rchar;
|
|
int a(char* a, rchar* b) {
|
|
return a-b;
|
|
}
|