?? error6.c
字號:
// { dg-do compile }// Make sure we emit a decent error message when trying to mangle an// expression not supported by the C++ ABI due to a defect.template <int N>struct A {};struct B{ static int foo(void);};template <class T>A<sizeof(T::foo())> func(void);int main(){ func<B>(); // { dg-error "sorry, unimplemented" }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -