Last change
on this file since 32 was
29,
checked in by landauf, 17 years ago
|
updated boost from 1_33_1 to 1_34_1
|
File size:
544 bytes
|
Rev | Line | |
---|
[29] | 1 | // (C) Copyright Beman Dawes 2003. Distributed under the Boost |
---|
| 2 | // Software License, Version 1.0. (See accompanying file |
---|
| 3 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
---|
| 4 | |
---|
| 5 | // Test naming convention: the portion of the name before the tilde ("~") |
---|
| 6 | // identifies the bjam test type. The portion after the tilde |
---|
| 7 | // identifies the correct result to be reported by compiler_status. |
---|
| 8 | |
---|
| 9 | int main() |
---|
| 10 | { |
---|
| 11 | short s; |
---|
| 12 | unsigned long ul; |
---|
| 13 | s = s & ul; // warning from many compilers |
---|
| 14 | if ( s == ul ) {} // warning from GCC |
---|
| 15 | return 0; |
---|
| 16 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.