diff options
Diffstat (limited to 'tests/builtin-constant-p.c')
-rw-r--r-- | tests/builtin-constant-p.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/builtin-constant-p.c b/tests/builtin-constant-p.c new file mode 100644 index 0000000..fa16ed3 --- /dev/null +++ b/tests/builtin-constant-p.c @@ -0,0 +1,3 @@ +int f(void); +int x = __builtin_constant_p(1+2*3); +int y = __builtin_constant_p(f()); |