The point is to allow users with a related set of script based commands to organize their commands in a hierarchy in the command set, rather than having to have only top-level commands. Differential Revision: https://reviews.llvm.org/D110298
14 lines
278 B
C++
14 lines
278 B
C++
#include <stdio.h>
|
|
|
|
int foo(char c) { return 1; }
|
|
int foo(signed char c) { return 2; }
|
|
int foo(unsigned char c) { return 3; }
|
|
|
|
int main() {
|
|
char c = 0;
|
|
signed char sc = 0;
|
|
unsigned char uc = 0;
|
|
printf("%d %d %d\n", foo(c), foo(sc), foo(uc));
|
|
return 0; // Break here
|
|
}
|