michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: /* michael@0: * This test verifies that NSS public headers don't conflict with common michael@0: * identifier names. michael@0: */ michael@0: michael@0: #include "nssilckt.h" michael@0: michael@0: /* michael@0: * Bug 455424: nssilckt.h used to define the enumeration constant 'Lock', michael@0: * which conflicts with C++ code that defines a Lock class. This is a michael@0: * reduced test case in C for that name conflict. michael@0: */ michael@0: typedef struct { michael@0: int dummy; michael@0: } Lock; michael@0: michael@0: Lock lock; michael@0: michael@0: int main() michael@0: { michael@0: return 0; michael@0: }