diff options
Diffstat (limited to 'gcc-4.9/gcc/testsuite/g++.dg/cpp0x/gen-attrs-40.C')
-rw-r--r-- | gcc-4.9/gcc/testsuite/g++.dg/cpp0x/gen-attrs-40.C | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/gen-attrs-40.C b/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/gen-attrs-40.C new file mode 100644 index 0000000..f3ccb72 --- /dev/null +++ b/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/gen-attrs-40.C @@ -0,0 +1,5 @@ +// PR c++/46803 +// { dg-do compile { target c++11 } } + +int strftime(char *, int, const char *, const struct tm *) + [[gnu::__bounded__(__string__,1,2)]]; // { dg-warning "ignored" } |