diff options
| author | bellard <bellard> | 2003-06-02 20:31:46 +0000 |
|---|---|---|
| committer | bellard <bellard> | 2003-06-02 20:31:46 +0000 |
| commit | 277e01cd643af71bd6e962f303747f7857ca23c1 (patch) | |
| tree | dce6b9a764aff7941b21c830698b3fbf3dafbd1c /tcctest.c | |
| parent | 9d95be78c8c5b43694397290525fb9cb689ecd53 (diff) | |
| download | tinycc-277e01cd643af71bd6e962f303747f7857ca23c1.tar.gz tinycc-277e01cd643af71bd6e962f303747f7857ca23c1.tar.bz2 | |
const warning test
Diffstat (limited to 'tcctest.c')
| -rw-r--r-- | tcctest.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1943,3 +1943,13 @@ void builtin_test(void) printf("res = %d\n", __builtin_constant_p(&constant_p_var)); printf("res = %d\n", __builtin_constant_p(constant_p_var)); } + + +void const_func(const int a) +{ +} + +void const_warn_test(void) +{ + const_func(1); +} |
