diff options
-rw-r--r-- | unittest/mysys/my_vsnprintf-t.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/unittest/mysys/my_vsnprintf-t.c b/unittest/mysys/my_vsnprintf-t.c index 06f6878826a..349e7469141 100644 --- a/unittest/mysys/my_vsnprintf-t.c +++ b/unittest/mysys/my_vsnprintf-t.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved. +/* Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -154,8 +154,10 @@ int main(void) test1("conn 1 to: '(null)' user: '(null)' host: '(null)' ((null))", "conn %ld to: '%-.64s' user: '%-.32s' host: '%-.64s' (%-.64s)", 1L, NULL, NULL, NULL, NULL); +#if defined (__GNUC__) test1("Hello string `I am a string`", "Hello string %`s", "I am a string"); +#endif test1("Hello TEST", "Hello %05s", "TEST"); test1("My `Q` test", |