diff options
Diffstat (limited to 'test/builtin-constant-p.c')
-rw-r--r-- | test/builtin-constant-p.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/builtin-constant-p.c b/test/builtin-constant-p.c new file mode 100644 index 0000000..fa16ed3 --- /dev/null +++ b/test/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()); |