[mlir][acc] Introduce MappableType interface (#122146)
[llvm-project.git] / lldb / test / API / lang / c / fpeval / main.c
blob3b44b7005206e1da7597c1fff90c5ac7b233bc5e
1 double eval(double a, double b, int op) {
2 switch (op) {
3 case 0: return a+b;
4 case 1: return a-b;
5 case 2: return a/b;
6 case 3: return a*b;
7 default: return 0;
11 int main (int argc, char const *argv[])
13 double a = 42.0, b = 2.0;
14 float f = 42.0, q = 2.0;
15 return 0; //// Set break point at this line.