add opensuse toolchain support, patch by Ismail Donmez!
[clang/stm8.git] / test / Parser / cxx-typeid.cpp
bloba825dc3cc7a56d2fbbf9273029c60a3b64970bc4
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 // FIXME: This should really include <typeinfo>, but we don't have that yet.
4 namespace std {
5 class type_info;
8 void f()
10 (void)typeid(int);
11 (void)typeid(0);
12 (void)typeid 1; // expected-error {{error: expected '(' after 'typeid'}}