summaryrefslogtreecommitdiffstats
path: root/clang/test/Headers/Inputs/include/cstdlib
blob: 4dc1ff6cee08fc18f2c008a8011de292415a36e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

extern int abs (int __x) __attribute__ ((__const__)) ;
extern long int labs (long int __x) __attribute__ ((__const__)) ;

namespace std
{

using ::abs;

inline long
abs(long __i) { return __builtin_labs(__i); }

inline long long
abs(long long __x) { return __builtin_llabs (__x); }
}
OpenPOWER on IntegriCloud