summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/other/pr43116.C
blob: f0d9d01e4a86e61adf521998fef9214b3e131259 (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do compile } */
extern "C" int rpl_open (const char *filename, int flags, ...) __attribute__
((__nonnull__ (1)));

namespace gnulib
{
    int (*const open) (const char *filename, int flags, ...) __attribute__
	((__nonnull__ (1))) = rpl_open;
}