Files
clang-p2996/lldb/test/API/commands/expression/char/main.cpp
Jim Ingham c5011aed9c Add a "command container" hierarchy to allow users to add container nodes.
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
2021-10-18 15:29:24 -07:00

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
}