Chromium Code Reviews| Index: test/win/compiler_flags/rtti_on.cc |
| diff --git a/test/win/compiler_flags/rtti_on.cc b/test/win/compiler_flags/rtti_on.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..b6cd3ec3327d361590264401e2c4aced6edfd41b |
| --- /dev/null |
| +++ b/test/win/compiler_flags/rtti_on.cc |
| @@ -0,0 +1,12 @@ |
| +// Copyright (c) 2012 Google Inc. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include <typeinfo.h> |
| + |
| +class A {}; |
| + |
| +int main() { |
| + typeid(A); |
| + return 0; |
| +} |